Thanks for the post, LB.
I should have mentioned that I'm using Crystal 8.5. The report is being run off a single SQL stored procedure which is shared by other reports, so I can't change it to do this modification within the sp.
Any other ideas?
Sure. Create a formula using Date().
For example, if your field is UserDateTime, create a formula using Date(UserDateTime).
This will strip the time off your datetime field and just return the date.
I have a situation which I'm sure many people have run into:
My recordset contains items which need to be grouped by manufacturer status. If the status of a particular item is unavaiable but other items by the manufacturer are available, the manufacturer status needs to be set to available...
Can you post the formula you tried?
Without know what you've done so far, here's an idea:
Create the formula @Prompt:
if weekend = ?Prompt Week
then reghrs + othrs
else 0
Create the formula @RestOfTime:
if weekend <> ?Prompt Week
then reghrs + othrs
else 0
Then, create a group by...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.