E
Emma Aumack
I recently split my database to a front-end and back-end. On my front-end, I
have a button that I use to transfer a couple of text files to a table on the
front-end. I now need to edit the code to transfer the text file to the
back-end. How do I reference the backend table in my front-end form
DoCmd.TransferText VBA code if the backend is
G:\user\contracts\contracts_database_be.mdb and the table name is
tbl_Account_Master?
DoCmd.OpenQuery "Qry_Flush_tbl_Account_Master" 'remove existing
records from tbl_account_master
Acct_Master = "C:\AS400\account_Master.csv" 'assign variable to
existing account master csv file
DoCmd.TransferText acImportDelim, "Account_Master Import
Specification",
"G:user\contracts\Data_files\contracts_database_be.mdb!tbl_Account_Master",
Acct_Master, False 'Transfer csv. file using saved import specification to
tbl_Account_Master - THIS DOESN'T WORK
Thanks for your help.
have a button that I use to transfer a couple of text files to a table on the
front-end. I now need to edit the code to transfer the text file to the
back-end. How do I reference the backend table in my front-end form
DoCmd.TransferText VBA code if the backend is
G:\user\contracts\contracts_database_be.mdb and the table name is
tbl_Account_Master?
DoCmd.OpenQuery "Qry_Flush_tbl_Account_Master" 'remove existing
records from tbl_account_master
Acct_Master = "C:\AS400\account_Master.csv" 'assign variable to
existing account master csv file
DoCmd.TransferText acImportDelim, "Account_Master Import
Specification",
"G:user\contracts\Data_files\contracts_database_be.mdb!tbl_Account_Master",
Acct_Master, False 'Transfer csv. file using saved import specification to
tbl_Account_Master - THIS DOESN'T WORK
Thanks for your help.