J
James
Hi everyone. Im very new to Access. Im having trouble creating a cap for
hours in a time sheet database. Here is what I have
I have a SQL Table with Recorded Comp Time and Leave of absence called "Time
Sheet" I also made a query which has the persons Identy, that weeks date and
the total Comp/LOA for that week which looks like this (in design):
Field: Badge FridayDate CompLOA
Table: Time Sheet Time Sheet Time Sheet
Total: Group By Group By Sum
Sort: Ascending
although I dont think the sum does anything.
Well what I need to do is Create a MsgBox that pops up and tells the user
that their accumulated CompLOA time is >60 and prevent them from entering
anything over 60 in the field on the form. I dont know if I should research
doing it in say a criteria field of a query or if there is some other way to
do it in the properties dialog box. VBA maybe? I dont know. Thanks if anyone
has some input. Any questions please ask...dont know if this is the clearest
explination
hours in a time sheet database. Here is what I have
I have a SQL Table with Recorded Comp Time and Leave of absence called "Time
Sheet" I also made a query which has the persons Identy, that weeks date and
the total Comp/LOA for that week which looks like this (in design):
Field: Badge FridayDate CompLOA
Table: Time Sheet Time Sheet Time Sheet
Total: Group By Group By Sum
Sort: Ascending
although I dont think the sum does anything.
Well what I need to do is Create a MsgBox that pops up and tells the user
that their accumulated CompLOA time is >60 and prevent them from entering
anything over 60 in the field on the form. I dont know if I should research
doing it in say a criteria field of a query or if there is some other way to
do it in the properties dialog box. VBA maybe? I dont know. Thanks if anyone
has some input. Any questions please ask...dont know if this is the clearest
explination