Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 12 - Data Access Manager / Data Access Manager Reference
Resources


The Query Definition Function Resource

A query document may contain a query definition function, which can modify the query record and, if necessary, fill in the query template to create a complete query.

If you want to include a query definition function, you must make it the first piece of code in a resource of type 'qdef' in the query document.

Note that, because a query in memory consists only of a 2-byte length value followed by a character string, the query definition function has to know the exact contents and structure of a query in order to modify it. For a sample query definition function that uses a dialog box to prompt the user for a user name and password, see Listing 12-7 on page 12-53.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996