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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query runs first time, errors second time

Status
Not open for further replies.

gmcevoy

Programmer
Aug 13, 2002
10
0
0
CA
We have an ODBC connection to a SQL Server database which we have built an Access Query on. We do this in several spots without a problem. The problem is one Query we run will run the first time we open the program, the second time we open the query an error with a problem with Heterogenous queries require Ansi_Nulls and Ansi_Warnings to be set. We have the Ani_Nulls and the Ansi_Warnings set. This is a pretty straight forward query, that comes from two seperate SQL Server databases.

Hope somebody can help.

Jerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top