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

Chapter 15. ADO Events > Asynchronous Queries

Asynchronous Queries

An asynchronous query is a query during which the calling program does not wait for the server results. Instead, the program continues to run. In descriptions in previous chapters, the client program waited until the data was available in the recordset, for example, when it wanted to open a recordset. The program was locked until after the server delivered the data. The same thing happened during the execution of action queries with command objects: The client program waited until the query was processed.

In Chapter 14, “ Command Objects,” we briefly described several options for executing asynchronous queries. This section describes the use of asynchronous queries in more detail. Why in this chapter about events? The answer is simple: With asynchronous queries, you need events that tell you, for example, when a query was completed and when the results are available.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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