newbie listbox if then problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • terry dactil
    Forum Member
    • Oct 2007
    • 14

    newbie listbox if then problems

    Hi all, i have made a little tutor file for me to play with, i want to select from one listbox and load a third listbox from a second (see attached file), i use a setvisible for the other boxes just to confirm selection is ok.

    this works fine, but if i cut and paste lines 12-17 and change the boxnames i keep getting an error on trying to close the properties box along the lines of "line = "linenumber"; 'end' expected (to close 'if' at line (number)) near '<eof>

    now i know i am tying to do things in a very longwinded way instead of setting variables the the box names etc, but i wanted to make sure the code worked before i made it pretty (what a hope )

    can anyone shed some light where i am going wrong please??

    tutor.apz
  • terry dactil
    Forum Member
    • Oct 2007
    • 14

    #2
    never mind, sorted it, i never knew about the else if statement.

    I there a definitive list of scripting statements?

    Comment

    Working...
    X