G
Guest
I am using Access 2003 on windows XP Professional. I have developed a time
entry program to track employees' attendance and job costs. I am using a form
bound to the payroll table with a subform bound to the details of the time
for that day. I have a 2 saved queries. one returns a list of all employees
active for that day, the other returns all payroll records for that day. I
then compare the record counts of both to determine that all employees active
for that day also have a time entry for that day. The queries have a date
parameter bound to the date field of my open form. I can open these queries
manually or by code, and they function correctly. however, when I try to open
a recordset object on them in code, I get the "Too few parameters Expected 1"
error message.
Can anyone tell me why? and possibly how I can fix this?
Thanks in advance for your comments
entry program to track employees' attendance and job costs. I am using a form
bound to the payroll table with a subform bound to the details of the time
for that day. I have a 2 saved queries. one returns a list of all employees
active for that day, the other returns all payroll records for that day. I
then compare the record counts of both to determine that all employees active
for that day also have a time entry for that day. The queries have a date
parameter bound to the date field of my open form. I can open these queries
manually or by code, and they function correctly. however, when I try to open
a recordset object on them in code, I get the "Too few parameters Expected 1"
error message.
Can anyone tell me why? and possibly how I can fix this?
Thanks in advance for your comments