Link to home
Start Free TrialLog in
Avatar of ThomasBallardIT
ThomasBallardITFlag for United States of America

asked on

Print Time formula

Can you make it where if the print time(time) was more than 5 hours ago it would say not up to date?
Avatar of Mike McCracken
Mike McCracken

I don't think so because it is up to date when you print it.

What are you trying to do?

mlmcc
Avatar of ThomasBallardIT

ASKER

If I make the report on monday and save it and then open it up on wednesday the info is no longer up to date.  I guess I just have to refresh it?
Yes, if you save it then all of the data will be saved as well - including any formula that you might use to compare dates.

The only workaround I can think of is if you return a date field from your stored procedure you could display that date on your report so you'd at least know how old the data is.  It probably isn't an automated solution like you're looking for but it might work for you.

Can you use a MAX({yourtable.yourfield}) somewhere in the HEADER of the report that will tell you the MAX DATE for the data?

MikeV
Maximum({yourtable.datefield})


Mike's solution will work assuming the data always includes the date that the report was run.  Not knowing what you're looking at, I wasn't sure if this would necessarily be the case - if it is, then use his approach.

frodoman
ASKER CERTIFIED SOLUTION
Avatar of James0628
James0628

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thomas,

Just curious did this work? I've seen issue with the DATA DATE field in the past. Let us know.

Thanks
MikeV