deejay_totoro
Registered User.
- Local time
- Today, 15:20
- Joined
- May 29, 2003
- Messages
- 169
Hello,
I am trying to take the value of a text box and include it in the file name of a file that is exported from a database.
The code looks like this:
dim strFileName = some text box date value
strMyVariable = "c:\directory" & Format(Date, "DD / MY", strFileName) & ".csv"
Basically I would like to include the value of the text box in the file name - but so far cant get it to work.
This code is producing an error on the date format....
Any a help would be appreciated.
Thanks,
dj_T
I am trying to take the value of a text box and include it in the file name of a file that is exported from a database.
The code looks like this:
dim strFileName = some text box date value
strMyVariable = "c:\directory" & Format(Date, "DD / MY", strFileName) & ".csv"
Basically I would like to include the value of the text box in the file name - but so far cant get it to work.
This code is producing an error on the date format....
Any a help would be appreciated.
Thanks,
dj_T