Additem on ListBox causes a compile error
Hi,
I am create a project on Windows XP in which I use Listboxes. The rowsource of the Listboxes are "value list".
example:
If txtAddPlb_tabVestiging.Value <> "" Then
Form_VestigingenForm.lstPlbEdit_tabVestiging.RowSourceType = "Value List"
Form_VestigingenForm.lstPlbEdit_tabVestiging.AddItem Form_VestigingenForm.txtAddPlb_tabVestiging.Value
Form_VestigingenForm.lstPlbEdit_tabVestiging.Requery
txtAddPlb_tabVestiging.Value = ""
Else
Everything works fine on XP. But now that I am almost finished with my project I tried to run it on a Windows 2000 system and .... I get a compile error.
"Method or data member not found"
Can somebody help me?
greetz
Hi,
I am create a project on Windows XP in which I use Listboxes. The rowsource of the Listboxes are "value list".
example:
If txtAddPlb_tabVestiging.Value <> "" Then
Form_VestigingenForm.lstPlbEdit_tabVestiging.RowSourceType = "Value List"
Form_VestigingenForm.lstPlbEdit_tabVestiging.AddItem Form_VestigingenForm.txtAddPlb_tabVestiging.Value
Form_VestigingenForm.lstPlbEdit_tabVestiging.Requery
txtAddPlb_tabVestiging.Value = ""
Else
Everything works fine on XP. But now that I am almost finished with my project I tried to run it on a Windows 2000 system and .... I get a compile error.
"Method or data member not found"
Can somebody help me?
greetz
Last edited: