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

Smartlist Builder with a View

Status
Not open for further replies.

ChuckGann

IS-IT--Management
Jun 16, 2004
18
US
I have a view within a GP database that selects data from a separate data warehouse server in our environment. The select statement of the view works within Query Analyzer, but returns the following error when trying to set it up for use within Smartlist Builder:

GPS Error: 58
SQL Error: 7405 [Microsoft][ODBC SQL Server Driver][SQL Server]Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and then reissue your query.

These options are set on the database, but having them off or on doesn't affect the outcome. Has anyone run into this?

FYI we are running GP 8.0 and SQL 2000

Thanks.
 
Those options need to be on to connect to a second SQL server.

The Microsoft Dynamics GP application turns them off as this is how Dexterity wants the settings.

There is a method with stored procedures to have a wrapper procedure which turns the settings on and then calls the actual procedure.

But I know no work around that would work for a view. Can you bring the data to the same server?

David Musgrave [MSFT]
Escalation Engineer - Microsoft Dynamics GP
Microsoft Dynamics Support - Asia Pacific

Microsoft Dynamics (formerly Microsoft Business Solutions)


Any views contained within are my personal views and not necessarily Microsoft policy.
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top