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

Passthrough query results

Status
Not open for further replies.

Lorimare

MIS
Dec 9, 2003
24
0
0
US
Greetings,

how can I have the results of a pass through query returned to ..say a local access query. SUch as:

strSQL = "select * from customercaster where state = 'MA'"

The above is passed to informix to run and how are the results returned to access? Can I store them in a query object?
 
Yes. Go to query design. Close the 'add table' box. Now go to Query->SQL Specific->Pass-through (on Access 97, YMMV).

Now type in your SQL.

Now go to open the pass-through query. Link it to a data source.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top