kbsudhir
08-11-2009, 03:06 AM
Guys,
I have badlu stuck here.
Below is the data which my query is giving me. "TH: [Total_Login_Hours]-[Overall_BreakDuration]"
1.9537963
The query iscalculating total login hours in a week & deducting from that the total hours of break taken.
Now when I am converting the above value in access using "TotalHours: Format([Total_Login_Hours]-[Overall_BreakDuration],"HH:MM:SS")" then below is the data I am getting.
22:53:28
Which is completely wrong.
Now If I copy the data into excel & manually fromat the data to "HH:MM:SS" then excel gives me the below data which is correct.
46:53:28
Where I am going wrong?
Why Access formating of "HH:MM:SS" giving teh wrong data while excel gives teh correct one.
I am using the same loging for otehr queries in the same access project & all of them are working correctly.
Please guide.
:help :help :help
:dunno :dunno :dunno
:banghead: :banghead: :banghead:
:think: :think: :think:
: pray2: : pray2: : pray2: : pray2:
Thanks
Sudhir
I have badlu stuck here.
Below is the data which my query is giving me. "TH: [Total_Login_Hours]-[Overall_BreakDuration]"
1.9537963
The query iscalculating total login hours in a week & deducting from that the total hours of break taken.
Now when I am converting the above value in access using "TotalHours: Format([Total_Login_Hours]-[Overall_BreakDuration],"HH:MM:SS")" then below is the data I am getting.
22:53:28
Which is completely wrong.
Now If I copy the data into excel & manually fromat the data to "HH:MM:SS" then excel gives me the below data which is correct.
46:53:28
Where I am going wrong?
Why Access formating of "HH:MM:SS" giving teh wrong data while excel gives teh correct one.
I am using the same loging for otehr queries in the same access project & all of them are working correctly.
Please guide.
:help :help :help
:dunno :dunno :dunno
:banghead: :banghead: :banghead:
:think: :think: :think:
: pray2: : pray2: : pray2: : pray2:
Thanks
Sudhir