Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 3251 - Operation is not supported for this type of Object 1

Status
Not open for further replies.

GJP55

Technical User
Feb 2, 2003
220
GB
I am trying to export a pass through query using the following code:


DoCmd.TransferText acExportDelim, "MyExport", "test123",
"C:\Temp\Test.csv", False, ""

The Pass through query is a stored procedure on our backend SQL database. When I try and run this, I get "Error 3251 - Operation is not supported for this type of Object." Is there a library reference that I am missing ?
 
create another query based on the pass through and then do your transfertext based on the new query.
 
Thats great and works perfectly.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top