M
Maracay
Hi gurus,
I have the next code to export a .TAB file with a specification, but I am
getting an error: QryAgentPrintOutsFileTABExp not defined, look like is not
recognizing the specification I created before.
Thanks
Dim strFileName As String
Dim rsa As Recordset
Dim dbs As Database
Set dbs = CurrentDb
Set rsa = dbs.OpenRecordset("qryAgentPrintOutsFile", dbOpenDynaset)
strFileName = "D:\Orlando\edward\PruebaTest.TAB"
DoCmd.TransferText acExportDelim, QryAgentPrintOutsFileTABExp,
"qryAgentPrintOutsFile", strFileName, True
I have the next code to export a .TAB file with a specification, but I am
getting an error: QryAgentPrintOutsFileTABExp not defined, look like is not
recognizing the specification I created before.
Thanks
Dim strFileName As String
Dim rsa As Recordset
Dim dbs As Database
Set dbs = CurrentDb
Set rsa = dbs.OpenRecordset("qryAgentPrintOutsFile", dbOpenDynaset)
strFileName = "D:\Orlando\edward\PruebaTest.TAB"
DoCmd.TransferText acExportDelim, QryAgentPrintOutsFileTABExp,
"qryAgentPrintOutsFile", strFileName, True