S
Sash
I'm trying to export a file to c:\DOCS\mmddyyyy.txt I'm running th following
in a click event and it doesn't seem to like the fact that hte file name
hasn't been created. Any advise???
Dim stSpecs As String
Dim stExport As String
Dim stExpName As String
stExpName = "c:\DOCS" & Format(Date, "mmddyyyy") & ".txt"
stSpecs = "ExportSpecification"
stExport = "Export"
DoCmd.TransferText , stSpecs, stExport, stExpName
in a click event and it doesn't seem to like the fact that hte file name
hasn't been created. Any advise???
Dim stSpecs As String
Dim stExport As String
Dim stExpName As String
stExpName = "c:\DOCS" & Format(Date, "mmddyyyy") & ".txt"
stSpecs = "ExportSpecification"
stExport = "Export"
DoCmd.TransferText , stSpecs, stExport, stExpName