Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Good day experts, can anyone tell me how to retrieve records between 6:00AM to 14:00PM? i want to sum up all the details between the given time to my crystal report. i tried running total like this "CTime(CurrentDateTime) IN CTime(#06:00#) TO_ CTime(#14:00#)" and it displays the record(this is for shift1)
but when i create another running total for shift2 with the same code,it does not display any records.

im creating this report for my daily report which is i have to display the the records per shift
Posted
Comments
Ezra Neil 5-Jul-13 1:15am    
You may used the wrong data to sum. Double check everything and try again.
Maciej Los 5-Jul-13 16:37pm    
Show us you sql query.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900