Don’t put it in the table,
do it in the query or report:
qry: forrmat(field,”yymmdd”)
rpt: set format property same, yymmdd
Just try it!
Use a query as Source of report. In this query, have a field formatted as adviced above, i.e. something like
In report, use the field YourDateString do display formatted date.Code:SELECT field, field2, ..., YourDateField, Format(YourDateField,"yymmdd") AS YourDateString, ... FROM YourTable ..."
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Hi
No, on the Report in Design View you would select the Control "AngebottNr" and then change the Properties of the Control as specified.
You can PM me for help. Good Read https://docs.microsoft.com/en-gb/off...on-description
To attach file: https://www.accessforums.net/showthread.php?t=70301
I don't quite understand because I want today's date. So I always want to output the current date in the format "yymmdd" and I don't quite understand how I have to do that with the code snippets from you.
I have a report, this desired output should come in a text field, can't I do this directly in the text field?
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba