Debbie,
This depends on how your table is set up and how your process is designed. Do you enter time every day, and at the point you enter the time you calculate the pay amount for the day? Or is the pay amount calculated in another process, thatis run once a week? Also - do you know any VBA?
Here's how you might do the first way:
I'm assuming that you have a form in which you enter the hours worked for an employee for the day. After typing in the hours, you press a button called Update. This button would update the table then calculate the pay amount. First, use the Weekday function to figure out the day of the week. From that you can calculate the date of last Sunday. If today is Friday, Weekday(Date) returns a 6 (unless you change the FirstDayOfWeek parameter). Sunday is 1, so 5 days ago (6-1) was Sunday, so the date of last Sunday is Date-5. Knowing that, you can run a query to sum the hours since last Sunday for this employee. You can use this total to determine if you need to pay double time.
I'm not sure if you're doing daily, or not, and I'm probably running out of room here. If you'd like to discuss more, send me an email. mike@peyison.com
Hope this helps.