DatabaseDuane
asked on
List box value keeps coming up null
I have a search form with a listbox that automatically populates as you update the fields (last, address, etc). My objective is that the first item in the list will be the default item in the list so I put
Me.listFoundRecords.Select ed(0) = True
after the search function happens.
My problem is that even though the record appears to be selected (it is highlighted), the value of the listbox is still null unless I click on the record. Any thoughts?
Me.listFoundRecords.Select
after the search function happens.
My problem is that even though the record appears to be selected (it is highlighted), the value of the listbox is still null unless I click on the record. Any thoughts?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you have the listboxes column headers displayed? If so, change the index from 0 to 1.
ASKER
Thanks. That did it.