Ade F
Avid Listener
- Local time
- Today, 19:25
- Joined
- Jun 12, 2003
- Messages
- 97
I'm working on a rough sketching out of a timesheets DB and have the following problem. It seems that I'm getting wacky result from the datediff function.
I have the following structure
Main timesheet table
Sub timesheet
Time In table
Time Out table
I would just like fot the datediff to calculate the difference between the first combo box( TIME_ID ) and the second (TIME_ID_OUT). It seems that if I change the table format and have the input fields directly within the timesheet sub table (making the user manually type in 00:00 etc) then datediff works. However if I link to the timein table via a combo the calculations go ape.
Here is a link to the picture for more clarity (this is by no way finished it is an outright lash job at the mo)
Any ideas from the pro's.
Cheers
Ade
I have the following structure
Main timesheet table
Sub timesheet
Time In table
Time Out table
I would just like fot the datediff to calculate the difference between the first combo box( TIME_ID ) and the second (TIME_ID_OUT). It seems that if I change the table format and have the input fields directly within the timesheet sub table (making the user manually type in 00:00 etc) then datediff works. However if I link to the timein table via a combo the calculations go ape.
Here is a link to the picture for more clarity (this is by no way finished it is an outright lash job at the mo)
Any ideas from the pro's.
Cheers
Ade
Last edited: