Passthrough queries can be efficient for AS/400 ODBC connections because they let you bypass the JET engine and take advantage of the AS/400's query processor.
To create a passthrough query in Access, open the Queries windows and then double-click the "Create query in design view" icon. Close the New Tables dialog box that automatically appears. Then, on the Query menu, select SQL Specific and then Pass-Through option. Next, set the ODBC connection string by selecting the Properties icon in the toolbar and then clicking on the ellipsis next to the ODBC Connect Str property. You're then prompted to select an existing data source to the AS/400, or you can create a new data source if an AS/400 data source doesn't already exist. After setting the connection properties, type your passthrough query in the SQL Pass-Through Query window and click the Execute icon to run the query
Tuesday, September 15, 2009
Subscribe to:
Post Comments (Atom)
Popular Posts
- 80 Column Punched Cards and the History of RPG on the AS400
- Contact Us
- API Example - Deleting Old Spooled Files
- UDATE and *DATE in AS400 RPG
- What is QZHQSSRV job?
- About Us
- Using QCLRDTAQ to clear data queues in CL and RPG
- Encrypt Data on as400 (QC3ENCDT, Qc3EncryptData)
- ibm as400 manuals v5r4
- Creating an as400 Query
No comments:
Post a Comment