• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 27. Understanding the Data Acces... > Using ODBCDirect and the Remote Data...

Using ODBCDirect and the Remote Data Object

ODBCDirect is a simplified interface to the RDO. Version 1.0 of the 32-bit (only) RDO was introduced with Visual Basic 4.0 and was included only in the Enterprise Edition. The objective of RDO was to provide a means of using ODBC to connect to client/server RDBMSs without incurring the overhead of the Jet database engine. RDO provides faster processing of SQL pass-through queries, especially for INSERT and UPDATE operations that involve many records.

In addition, the RDO provides flexible handling of cursors in RDBMSs that implement cursors in their ODBC driver. A cursor is a pointer to a row in a query result set, similar to Jet's record pointer. If the RDBMS supports server-side cursors, RDO lets VBA code in your Access 97 front-end manipulate the remote cursor. In situations that involve operations on large query result sets, server-side cursors improve performance and minimize network traffic. Figure 27.18 illustrates the collection hierarchy of the RDO. RDO substitutes the terms columns for fields and rows for records, in accordance with conventional RDBMS terminology.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint