Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display date 1

Status
Not open for further replies.

EFREE

Programmer
Jun 29, 2005
41
US
How can i display the current date my report is being run?
 
More information please...
B~

Boni J. Rychener
Hammerman Associates, Inc.
Crystal Training and Crystal Material
On-site and public classes
Low-cost telephone/email support
FREE independent Crystal newsletter
800-783-2269
 
It is simple, all i want to know is what the is code for printing the current date. I am putting in the report header some information and one thing i want it to do is pull the current date the report is being run and put it on top.
 
Do you actually have any help files ??

putting "current date" into the search there brings up the TODAY() function which you might want to look into...

Rgds, Geoff

Three things are certain. Death, taxes and lost data. DPlank is to blame

Please read FAQ222-2244 before you ask a question
 
Haha, xlbo has a good point. :)

But what you want to use is the ExecutionTime parameters from the Globals collection... or in other words, type the following in your textbox "=Globals!ExecutionTime".
 
^^^ By the way, if you go to the Expression builder for the textboxes Value property and expand Globals on the left, you will find a lot of handy values you can show on the report, such as: Page number, Total Pages, User ID, etc.
 
xlbo & ookete thanks

I have been trying to get the help files installed on my dev box for two weeks now and the system tech keeps telling me he is too busy to load three long cds.

hes got more excuses than me lol

 
Try this.

Put a text box in the Header, right click it -> Expressions.

Open up Global and look for ExecutionTime. That will give you the time the report was actually run.



Catadmin - MCDBA, MCSA
"If a person is Microsoft Certified, does that mean that Microsoft pays the bills for the funny white jackets that tie in the back???
 
thanks but ookete knew exactly what to do ... put this in a text box and it works perfectly "=Globals!ExecutionTime".
 
Which was what I was saying, but since your reply sounded like you were still having problems, I thought it was because you weren't sure how to get there.

Sorry about that.




Catadmin - MCDBA, MCSA
"If a person is Microsoft Certified, does that mean that Microsoft pays the bills for the funny white jackets that tie in the back???
 
No not at all i appreshiate any and all help. The way you said works the same way i just wanted anyone else to know that was looking on the page that simply if they add that to the line it will be easier than going throught the expresion explorer.

Have a great day!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top