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

input list

Status
Not open for further replies.

JimTheProgrammer

Programmer
Oct 18, 2000
11
US
I know I'm overlooking something simple, but what contol do I use so the user can input a list of values? Namely, to input a list of employee numbers on a form for use in a query. I know how to use text boxes, and list boxes (to choose from a predefined set of data) but not an empty list box.
 
Hi!

Probably the most intuitional way for your users would be to use a text box and set its EnterKey Function to New Line (on the Other tab in the properties box). Then the user can put in one number then hit enter etc. Alternatively, you can teach them to add a delimiting character(probably a space or a semi-colon). However you do it your code will then need to look for the delimiting character and parse out the numbers for use. If you need help with a parsing function let me know.

hth Jeff Bridgham
bridgham@purdue.edu
 
Thanks for the help. Actually I found the best answer to be a subform. It being a datasheet from of a table. The user can then fill in the table from my form and use it in subsequent queries.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top