marlind618
Registered User.
- Local time
- Yesterday, 21:48
- Joined
- May 22, 2013
- Messages
- 15
I have a problem I can't resolve. I get an error 3061 Too few parameters. Expected 1. Microsfot Access 2010. I can put a regular date in and it works but I have chose to have the user to input the date in a txt box. Here is the sql SELECT qryhourmin.[The Minutes], qryhourmin.Starttime, qryhourmin.EmpName, qryhourmin.dateindbtl, qryhourmin.EventID, qryhourmin.Requester, qryhourmin.RequestNumber, qryhourmin.DateReq, qryhourmin.Stoptime, qryhourmin.ActualTime, qryhourmin.Minutes, qryhourmin.DBrequestersdetails, qryhourmin.worktype, qryhourmin.WorkCodeID, qryhourmin.DescriptionDBID, qryhourmin.Description, qryhourmin.WorkCode, tblsystemnotes.SystemText, qryhourmin.systemnotesid
FROM tblsystemnotes RIGHT JOIN qryhourmin ON tblsystemnotes.systemnotesid = qryhourmin.systemnotesid
WHERE (((qryhourmin.EmpName)=networkusername()) And ((qryhourmin.dateindbtl)=(Forms!frmpublicrecordstimesheet!txtselstartdate)))
ORDER BY qryhourmin.Starttime;
I think the error is in the(Forms!frmpublicrecordstimesheet!txtselstartdate) this is where I can manually put the date.
Any help would be appreciated.
FROM tblsystemnotes RIGHT JOIN qryhourmin ON tblsystemnotes.systemnotesid = qryhourmin.systemnotesid
WHERE (((qryhourmin.EmpName)=networkusername()) And ((qryhourmin.dateindbtl)=(Forms!frmpublicrecordstimesheet!txtselstartdate)))
ORDER BY qryhourmin.Starttime;
I think the error is in the(Forms!frmpublicrecordstimesheet!txtselstartdate) this is where I can manually put the date.
Any help would be appreciated.