formatting a date in a string also including text

GDewez

New member
Local time
Today, 06:41
Joined
Feb 2, 2006
Messages
6
Hi there,

I have to format a date following dd-mmm-yy in an expression also containing text.

Expr1: "Text" & " " Date()

Although separately formatting the date is easily done. I need to keep both int he same expression.
 
hello.

basically it's what you wrote, plus the formatting:
Expr1: "Text" & Format(Date(),"dd-mmm-yy")).

or:

Expr2: [tblName]![fldName] & " (" & Format([tblComposition]![COMPN_DATE],"dd-mmm-yy") & ")"
 
Last edited:
Wazz,

It is now asking for the parameter of dd, then mmm, then yy. Then there is a message that the expression is too complex.

How come Access does not recognise d m and y anymore? It is not recongised in the Input masks either.
 

Users who are viewing this thread

Back
Top Bottom