IMO
Now Known as ___
- Local time
- Today, 11:00
- Joined
- Sep 11, 2002
- Messages
- 723
I'm using the following code to Output a report as a Text file, saving it as the name in an unbound textbox on the form
all works fine but what I'd like to do is save it as above adding todays date before the Name so the saved file would look like
180803(DREK02).txt
not
(DREK02).txt
I'm sure it's quite simple but I just can't get my head round it today. Most grateful for any help
IMO
Code:
DoCmd.OutputTo acReport, "rptAddCost", "MS-DOSText(*.txt)", "C:\Documents and Settings\temp\Desktop\(" & Me!TxtSupName & ").txt", False, ""
180803(DREK02).txt
not
(DREK02).txt
I'm sure it's quite simple but I just can't get my head round it today. Most grateful for any help
IMO