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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format LastPrintDate() 1

Status
Not open for further replies.

Jembo

MIS
Dec 20, 2004
38
GB
I have included the LastPrintDate() function in a cell in a report, but rather than just showing the date, I want the cell to read;

"Date of Print: dd/mm/yyyy"

I have tried concatenation using the ToDate and FormatDate functions but keep getting #ERROR.

Any ideas?

 
I tried creating a variable in the report as:

="Date of Print " & FormatDate(LastPrintDate() ,"dd/mm/yyyy")

It failed with #ERROR until I actually printed the report and then refreshed. It looks to me as if the habndling of what is an effectively null date in a formula causes the error.
 
I tried creating a variable in the report as:

="Date of Print " & FormatDate(LastPrintDate() ,"dd/mm/yyyy")

It failed with #ERROR until I actually printed the report and then refreshed. It looks to me as if the handling of what is an effectively null date in a formula causes the error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top