snowmantle
Programmer
Hi,
I am doing this at the moment in my .adp file.
The view "QryExportAll" exists in the sql server database in the above case.
When trying to run it i get a runtime error '7874' Microsoft Access can't find the object 'QryExportAll.'
I have a report that uses another query that works fine.
Anyone know why this doesnt work??
I am going to be changing the .adp to a .ade after this change has been made so it needs to work for that as well.
I am doing this at the moment in my .adp file.
Code:
DoCmd.TransferText acExportDelim, , "QryExportAll", "P:\Export\Data" & Format(Now(), "mmddyyyy") & ".csv"
The view "QryExportAll" exists in the sql server database in the above case.
When trying to run it i get a runtime error '7874' Microsoft Access can't find the object 'QryExportAll.'
I have a report that uses another query that works fine.
Anyone know why this doesnt work??
I am going to be changing the .adp to a .ade after this change has been made so it needs to work for that as well.