ThunderGeek
Technical User
I have a form with command button to export a text file with this code attached to the onclick, the code blelow works well:
However I would like to change the file name to a text string stored in a combobox named [SupplierBox] on a form named [Supplier].
I keep getting error code and know that I am not getting the string in properly.
Any help is appericated
Thanks Thundergeek
Code:
DoCmd.TransferText acExportDelim, "ProductsNewExportSpecification", "ProductsNew", "C:\SHOPSITE\products\New Folder\newproducts.txt", True, ""
However I would like to change the file name to a text string stored in a combobox named [SupplierBox] on a form named [Supplier].
I keep getting error code and know that I am not getting the string in properly.
Any help is appericated
Thanks Thundergeek