u3520384
asked on
Choosing Date range and Shift with Crystal 8
Dear Sir;
I am coding about Rstaurant System. It have Shift which can open 17.00 to 2.00 of new day.(17:00 of 1 Aug to 2:00 of 2 Aug) But it remain be 1 day of working.
Although I can create Report by choosing each date with shift but I have problem about choosing Date Range by having Shift also.
Assume that I want to see 1 Aug to 5 Aug.. There are 2 Shift(17:00-21:00 and 21:01-2:00(new day))
It mean that (17:00 of 1Aug - (17:00 of Aug5 and 2:00 of 6Aug)) is what I will see in report.
Please reply me because it is Important. via email at u3520384@hotmail.com or talk your email to me...
So that I can contact you directly if you want more detail
I use MDB file is Database
Ake
I am coding about Rstaurant System. It have Shift which can open 17.00 to 2.00 of new day.(17:00 of 1 Aug to 2:00 of 2 Aug) But it remain be 1 day of working.
Although I can create Report by choosing each date with shift but I have problem about choosing Date Range by having Shift also.
Assume that I want to see 1 Aug to 5 Aug.. There are 2 Shift(17:00-21:00 and 21:01-2:00(new day))
It mean that (17:00 of 1Aug - (17:00 of Aug5 and 2:00 of 6Aug)) is what I will see in report.
Please reply me because it is Important. via email at u3520384@hotmail.com or talk your email to me...
So that I can contact you directly if you want more detail
I use MDB file is Database
Ake
Why not subtract 2 hours from the date value during your query and add it back while printing the report?
ASKER
This is Real Expression I use in Selection Formula
({Sale_Order_Header.SO_Sta rt_Date}>= '2001/07/1 2' and {Sale_Order_Header.SO_Star t_Time}>=' 09:00:00') //9:00 pm
Or ({Sale_Order_Header.SO_Sta rt_Date}=' 2001/07/14 ' and {Sale_Order_Header.SO_Star t_Time}<=' 02:00:00') //2:00 am
I use this expression in Selection Formula, It list all record.
Problem: I want to view sale order of 2001/07/12 at 09:00:00 until 2001/07/14 at 02:00:00...
Please answer me please , or you send answer via email at u3520384@hotmail.com or post your email so that I reply back for more detail
Ake
({Sale_Order_Header.SO_Sta
Or ({Sale_Order_Header.SO_Sta
I use this expression in Selection Formula, It list all record.
Problem: I want to view sale order of 2001/07/12 at 09:00:00 until 2001/07/14 at 02:00:00...
Please answer me please , or you send answer via email at u3520384@hotmail.com or post your email so that I reply back for more detail
Ake
You want and AND in place of your OR in your formula.
All set???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What are you reporting off of? (DB? if so what is the file layout)
What do you want to see on the report exactly? (Sorts, Groups, Details, Totals, etc....Leave a short example)