B
ByronC via AccessMonster.com
I'm new to sql, so please pardon my ignorance. I am attempting to convert
existing code (shown below) to run in a remote database. How do I tell
Access to run the query "WedgeTbl_Crosstab" in the remote database and output
to Excel? The remote database is a temporary database created on the user's
desktop and the below query is copied in using DoCmd.TransferDatabase.
Existing code:
DoCmd.OutputTo acOutputQuery, "WedgeTbl_Crosstab", acFormatXLS, strFilePath &
strFileName, True
The location of the remote database is located here:
"C:\Documents and Settings\" & CurrentUser & "\desktop\WedgeTemp.mdb"
Thanks....
existing code (shown below) to run in a remote database. How do I tell
Access to run the query "WedgeTbl_Crosstab" in the remote database and output
to Excel? The remote database is a temporary database created on the user's
desktop and the below query is copied in using DoCmd.TransferDatabase.
Existing code:
DoCmd.OutputTo acOutputQuery, "WedgeTbl_Crosstab", acFormatXLS, strFilePath &
strFileName, True
The location of the remote database is located here:
"C:\Documents and Settings\" & CurrentUser & "\desktop\WedgeTemp.mdb"
Thanks....