PaddyIrishMan
Registered User.
- Local time
- Today, 01:59
- Joined
- Jun 5, 2002
- Messages
- 166
Hi,
Currently I have a Db which stores Time sheets. The user fills out their weekly timesheet then submits. (A Filter is applied per-user so that only their own records are visible to them). A query then runs in the background & flags all of the submitted records to "Submitted" & makes them available for Managers to Approve.
Anyway, what I want to do is add in some validation to stop users from leaving fields blank. I dont want to make them "required" in the tables cos I dont like those nasty access messages.
So; I'd like to loop thru the filtered recordset checking each field in each record for blanks. I have used access to create the recordset so I assume I'll just be using me.recordset etc. I'm not familiar with using the recordset object at all so any advice or basic syntax to get me started would be very much appreciated.
Regards,
Patrick
Currently I have a Db which stores Time sheets. The user fills out their weekly timesheet then submits. (A Filter is applied per-user so that only their own records are visible to them). A query then runs in the background & flags all of the submitted records to "Submitted" & makes them available for Managers to Approve.
Anyway, what I want to do is add in some validation to stop users from leaving fields blank. I dont want to make them "required" in the tables cos I dont like those nasty access messages.
So; I'd like to loop thru the filtered recordset checking each field in each record for blanks. I have used access to create the recordset so I assume I'll just be using me.recordset etc. I'm not familiar with using the recordset object at all so any advice or basic syntax to get me started would be very much appreciated.
Regards,
Patrick