P
PatK
Can anyone tell me what is wrong with this event code in my form class
module? Gotta be something obvious. While the form is open (so thus, I
believe it must be getting to this event), I do not see the message box, nor
do I see the list populated. Note that WSNames is a public string, and right
before I open this form, I debug.print it, and see the contents of my list
just fine, in the debug, ie:
Listitem1;listitem2;etc;
I am new to theses forms, and listboxes, so I presume it is something dumb
(note: the listbox is named lstAvailable)...
Thanks, Patk
Private Sub Form_Open(Cancel As Integer)
MsgBox "I made it to Form_Open"
lstAvailable.RowSourceType = "Value List"
lstAvailable.RowSource = WSNames
End Sub
module? Gotta be something obvious. While the form is open (so thus, I
believe it must be getting to this event), I do not see the message box, nor
do I see the list populated. Note that WSNames is a public string, and right
before I open this form, I debug.print it, and see the contents of my list
just fine, in the debug, ie:
Listitem1;listitem2;etc;
I am new to theses forms, and listboxes, so I presume it is something dumb
(note: the listbox is named lstAvailable)...
Thanks, Patk
Private Sub Form_Open(Cancel As Integer)
MsgBox "I made it to Form_Open"
lstAvailable.RowSourceType = "Value List"
lstAvailable.RowSource = WSNames
End Sub