all groups > sql server odbc > september 2003 >
You're in the

sql server odbc

group:

Problems with Access SQl pass-through query.



Problems with Access SQl pass-through query. Al Blake
9/30/2003 7:46:15 PM
sql server odbc: This is really weird. I have a query in sql that runs like this:

SELECT * FROM uvTTExport option (force order)

It runs fine and returns 800+ records.
I need to run this query in Access so I can use some Visual Basic + MAPI
code to process the records... so I created a pass-through query with the
same syntax. It runs perfectly but returns no records! In both cases I am sa
and have dbo permissions on the database (both in SSQL query analyzer and
the ODBC I created for the pass-through).

I have spent hours on this can and can't work out what is going on.
Anyone got any ideas?

Al Blake, Australia

Re: Problems with Access SQl pass-through query. Mary Chipman
10/1/2003 10:37:38 PM
Is the "returns records" property of the query set to true?

-- Mary
MCW Technologies
http://www.mcwtech.com

[quoted text, click to view]
AddThis Social Bookmark Button