Hi,
I have a couple of filtering listbox in a form. Can I set each data in a listbox with name or names?
For example, a listbox for company name, a listbox for customer name, and a listbox for contract number. When selecting a company, corresponding customer name and contract number will be shown. When selecting another customer, data will be changed again in other listboxes. All data will be shown when not selecting any data.
However, I don't want to requery the database everytime a data is selected because it will slow down the application. If I have a data name for customer listbox identifying what company it belongs to, and 2 data names for contract number identifying what company and customer it belongs to. Can I do that in VB6?
Jeff
I have a couple of filtering listbox in a form. Can I set each data in a listbox with name or names?
For example, a listbox for company name, a listbox for customer name, and a listbox for contract number. When selecting a company, corresponding customer name and contract number will be shown. When selecting another customer, data will be changed again in other listboxes. All data will be shown when not selecting any data.
However, I don't want to requery the database everytime a data is selected because it will slow down the application. If I have a data name for customer listbox identifying what company it belongs to, and 2 data names for contract number identifying what company and customer it belongs to. Can I do that in VB6?
Jeff