Hello Everyone
I have this Query that pulls record between to dates:
SELECT Book.BookNumber, Book.DateUpdated, Book.Status
FROM Book
WHERE (((Book.DateUpdated) Between [Forms]![INS-Export]![EXPLastDate] And [Forms]![INS-Export]![INS-TodayDate] ) AND ((Book.Status)="Sold"));
When I export the results as a Delimited file all is well
DoCmd.TransferText acExportDelim, , "ExportSold", EXPFolderLocation & "SoldTest.TxT", -1
But when I export as an XML file it asks me to enter the dates like it can't find the txtboxes with the dates
Application.ExportXML acExportQuery, "ExportSold", EXPFolderLocation & "SoldTest.xml"
I run it form the same form as the DElim Export, It;s driving me up the wall.
Any Ideas?
I have this Query that pulls record between to dates:
SELECT Book.BookNumber, Book.DateUpdated, Book.Status
FROM Book
WHERE (((Book.DateUpdated) Between [Forms]![INS-Export]![EXPLastDate] And [Forms]![INS-Export]![INS-TodayDate] ) AND ((Book.Status)="Sold"));
When I export the results as a Delimited file all is well
DoCmd.TransferText acExportDelim, , "ExportSold", EXPFolderLocation & "SoldTest.TxT", -1
But when I export as an XML file it asks me to enter the dates like it can't find the txtboxes with the dates
Application.ExportXML acExportQuery, "ExportSold", EXPFolderLocation & "SoldTest.xml"
I run it form the same form as the DElim Export, It;s driving me up the wall.
Any Ideas?