G GDewez New member Local time Today, 05:15 Joined Feb 2, 2006 Messages 6 Feb 2, 2006 #1 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.
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.
wazz Super Moderator Local time Today, 13:15 Joined Jun 29, 2004 Messages 1,704 Feb 2, 2006 #2 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: Feb 2, 2006
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") & ")"
G GDewez New member Local time Today, 05:15 Joined Feb 2, 2006 Messages 6 Feb 2, 2006 #3 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.
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.
G GDewez New member Local time Today, 05:15 Joined Feb 2, 2006 Messages 6 Feb 2, 2006 #4 Found it now.