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

How Do You Open Multiple Data Entry Lines ?

Status
Not open for further replies.

HMJ

Technical User
Nov 29, 2002
58
0
0
US
I hope someone out there can help us. The situation is that we have two tables with the fields indicated.
Table1:
Emply_ID
Employee_Name
Employee_section

Table2:
Emply_ID
Training_Class
Training_Date
Comments


On form #1, we would like to:
...(1)Select the section that training was given to(this we can do via dropdown list)
...(2)Enter the date the training was done
...(3)Select the name of the class taken(this we can do via dropdown list)
...(4)Click the continue button and open a form(s) for each member of the section, with the dates and class already entered.

This would enable us to indicate in the comments why someone did not make the class, or any other comments needed, as well as make one entry for the entire section.

How can this be done?

Thanks.


Harry Jessen
HMJessen@Yahoo.com
 
Place four unbound textboxes on the Main Form. Fill them as you describe above. Then at a cmd button, open the table two, add the information from the four b oxes and any other informtion and tell the usere is it done, Clean up and get out.

rollie.gantlet57819@zoemail.net
 
To: Rolliee

Okay, I can see that, but how do you create one record for each of the 'x' number of employees assigned to the section. Each employee should have his/her individual record in table2 when this is done.

That is what is causing the headache.

Thanks

Harry Jessen
HMJessen@Yahoo.com
 
Using vb loop through all the employee's records. If the employee meets the criteria, create a new rec with his/ her ID on it.

Rollie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top