I am having some real problems trying to figure out the logic to accomplish my programming task and hopefully one of you brilliant people out there can help me out. Here's what I have:
I am building a program that will produce completed time sheets from entered days of work. The time entry form allows the user to select a day from a DateTimePicker and enter in the start and end time. A query then updates an Access 2000 database with the WorkDate (YYYYMMDD), StartTime, EndTime (HHMM), and TimeWorked (#.##). This is all working beautifully! To Process the time sheets I have the user enter the Month to process from a drop down list (index 0 to 11 - add one to get the month to process). But here's the tricky part. The funds to make payments for the first 22 hours of each week (Sun - Sat) worked come from one source and any hours over 22 get paid from a different source. So if the 1st of the month is on a Wednesday, I need the hours worked in the previous month from Sunday - Tuesday to see if the 22 hours have been fully used. I have most of the process that needs to occur after the separation of payers, but I'm stuck right in the middle.
Do any of you brilliant persons have any ideas to help me over this? Thanks for any direction and guidance!
Leslie
landrews@metrocourt.state.nm.us
SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned
I am building a program that will produce completed time sheets from entered days of work. The time entry form allows the user to select a day from a DateTimePicker and enter in the start and end time. A query then updates an Access 2000 database with the WorkDate (YYYYMMDD), StartTime, EndTime (HHMM), and TimeWorked (#.##). This is all working beautifully! To Process the time sheets I have the user enter the Month to process from a drop down list (index 0 to 11 - add one to get the month to process). But here's the tricky part. The funds to make payments for the first 22 hours of each week (Sun - Sat) worked come from one source and any hours over 22 get paid from a different source. So if the 1st of the month is on a Wednesday, I need the hours worked in the previous month from Sunday - Tuesday to see if the 22 hours have been fully used. I have most of the process that needs to occur after the separation of payers, but I'm stuck right in the middle.
Do any of you brilliant persons have any ideas to help me over this? Thanks for any direction and guidance!
Leslie
landrews@metrocourt.state.nm.us
SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned