Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Aug 6, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

To Sync Or Not To Sync (ASYNC) ODBC Queries

Here you are in VB3, you have loaded the compatibility layer for Jet 2.0, and you are using ODBC. In this configuration, the ODBC queries will always run in asynchronous query execution mode, no matter if DisableAsync is set to one or zero in the application's initialization file. Fortunately, the fix for this is readily available in the form of a new DLL in the Microsoft Access Service Pack, which upgrades the Jet Engine (MSAJT200.DLL) to version 2.50.1606. When the VB compatibility layer is installed, the Jet Engine is upgraded from version 1.0 to version 2.0. If the Microsoft ODBC Desktop Database Drivers are then installed, the Jet Engine (MSAJT200.DLL) will be upgraded to version 2.50.1117, which forces a VB application into asynchronous query execution mode forever.
Douglas Haynes
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date