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

Select several items in combo box

Status
Not open for further replies.

Daybreak

Technical User
Jan 19, 2000
18
US
Acces 97, no VB.  In the db I have an employee table and a table with 31 codes. In the data entry form I have a combo box that drops down & lists the 31 codes. The user may need to select up to 20 of these codes for each employee in the employee db.  How do I do this? Or am I going in the wrong direction on this one? I have never attempted anything like this before.  Need all the help I can get at this point.  Thank you!
 
You need to add another table.<br><br>Three tables are needed for your project<br>tblcodes - for the 31 codes<br>tblemployees<br>tblEmployeeCode - the link between tblcodes and tblemployees<br><br>The relationship is:<br>one code relate to many employees<br>one employee relates to many codes<br>
 
I'm not sure exactly what you're tyring to do but if you're not familiar with VB, here's a simpler approach that <i>might</i> work for your problem. Create 31 yes/No fields in your table, named by their codes, and use checkboxes to display and set them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top