stormin_norm
Registered User.
- Local time
- Today, 08:00
- Joined
- Apr 23, 2003
- Messages
- 213
Any best practice on populating a listbox based on which textbox is populated
i.e.
textboxes:
customer name customer id
listbox:
w/ customer id, name, address
Recordsource=qryCustomer
qryCustomer
where customername like txt customer name] & * or customerid=txtcustomerid
When the form first opens, the listbox is autopopulated with ALL records due to the wild card search.
Is the only way to make this work is through code dynamically building the query string for the listbox vs using a query??
i.e.
textboxes:
customer name customer id
listbox:
w/ customer id, name, address
Recordsource=qryCustomer
qryCustomer
where customername like txt customer name] & * or customerid=txtcustomerid
When the form first opens, the listbox is autopopulated with ALL records due to the wild card search.
Is the only way to make this work is through code dynamically building the query string for the listbox vs using a query??