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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a <New> line to a list box?

Status
Not open for further replies.

Kumba1

Technical User
Aug 29, 2002
94
I have a list box that populates serial numbers for motors listed in a table... how do I add a value to the listbox called <New> which I can parse out in code to prompt the user to enter a new serial #?
 
create a table (tblNew) with one field #serialnr : add one record with value <New>

then set the list recordsource to tblMain UNION tblNew, you could then check for the selected item's value.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top