Syntax For Today's Day In Report Letter?

MBM

Registered User.
Local time
Today, 05:20
Joined
Sep 27, 2010
Messages
31
I've created a letter but cannot get the date to display e.g.

We received you letter on " & ([now()-7]) & "

or :

We received you letter on " & ([=now()-7]) & "

Brings up an 'Enter Parameter Value' dialog box.
 
Where are you attempting to put this?

In the Control Source of a Form or Report Control? Then;

="We received your letter on " & Date()-7

In a calculated field in a query? Then;

Message: "We received your letter on " & Date()-7
 
Where are you attempting to put this?

In the Control Source of a Form or Report Control? Then;

="We received your letter on " & Date()-7

In a calculated field in a query? Then;

Message: "We received your letter on " & Date()-7

Control Source. Thanks this worked :

" & Date()-7 & "
 
Last edited:

Users who are viewing this thread

Back
Top Bottom