Attendance sub form

M

mchicke

I am having trouble(i'm a newbie) finding a way to generate a form to enter
data for a group of active employees by date. The only way I can see to do
it now is to scroll individually through eash employee's record, and update
that way. I would like to enter a date, and add records for that date for
all employees in the same form. Any help would be greatly appreciated.
 
D

Duane Hookom

You could use a continuous subform on a main form. Add a text box on the
main form for the date. Then set the link master child properties of the
subform control to the text box and the date field in the subform. Each new
record in the subform will default to the date from the text box on the main
form.
 
M

mchicke

I think my problem may be deeper. I have a query set up of all 'Active'
associate which returns their Name and ID#. I am then trying to link to the
Attendance table with the fields ID#(the relationship to return names) Date,
Time in and time out. I would like to be able to edit all active associates
for a new date all at once, instead of moving record by record of each
employee in the main form and entering the data in the subform. The problem
may lie in my tables or queries?
 
J

John Vinson

I think my problem may be deeper. I have a query set up of all 'Active'
associate which returns their Name and ID#. I am then trying to link to the
Attendance table with the fields ID#(the relationship to return names) Date,
Time in and time out. I would like to be able to edit all active associates
for a new date all at once, instead of moving record by record of each
employee in the main form and entering the data in the subform. The problem
may lie in my tables or queries?

Probably this can be handled at the form level. Use a mainform (which
might be unbound) with a textbox for the desired date, and a Subform
based on your attendance table using this textbox as the Master Link
Field and the date as the Child Link Field. (By the way, do NOT use
Date as a fieldname; it's a reserved word and Access will get
confused).

You can then have the subform as a continuous form with the
associateID bound to a combo box allowing you to select each
associate's name and enter their times.

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top