dblist LIST FIELD error???
Posted on 1998-04-19
I am using a data-bound dblist box to show the content of an access file. i am changing the listfield property of the dblist object at runtime so that the contents of the dblist box changes in response to user requests. like this:
DBList1.ListField = "NORTH GRAND MALL"
Data1.RecordSource = "gresunsw"
this works fine - the first time the listfield property is given a value, but when i change it a second time, i get a run-time error 380, invalid property error. i tried to reinitialize the variable by using:
DBList1.ListField = ""
but i still get the error. any suggestions from you experts. also, is there any way to manipulate the position of the scroll bar (of the dblist box) during run time?