Hi
I have a form with a listbox.
The user selects one item then clicks a button which opens a new form which can be one of several depending on the item selected.
the code on the click event should be something like this :
'select case lst.itemselected
'case 1
'open formA
'case 2
'open formB
'case 3
'open formC
what's the syntax I should use for this ?
Second issue : I want to insert the item's bound column value into a field on the new form.
how can I achieve this ?
thanks in advance
paul
I have a form with a listbox.
The user selects one item then clicks a button which opens a new form which can be one of several depending on the item selected.
the code on the click event should be something like this :
'select case lst.itemselected
'case 1
'open formA
'case 2
'open formB
'case 3
'open formC
what's the syntax I should use for this ?
Second issue : I want to insert the item's bound column value into a field on the new form.
how can I achieve this ?
thanks in advance
paul