Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using listbox to populate variables

Status
Not open for further replies.

MattBegg

Programmer
Jan 19, 2001
42
CA
Hi

I am using a listbox which displays the contents of a table, I am looking for a way to select an item in the listbox and based on the item selected populate variables with the contents of the table based on the selected field.

How could I do this ??

Regards

Matt

matt@begg-uk.co.uk
 
Load all the fields you need from the table into additional columns in the list box, and set the Column Widths property to hide the extra columns. In the AfterUpdate event, use the Columns property of the list box to retrieve the values and assign them to controls. Rick Sprague
 
thanks RickSpr Regards

Matt

matt@begg-uk.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top