The information in this article applies to:
SYMPTOMSIf you try to use the domain aggregate function examples provided in the Microsoft Visual Basic version 3.0 for Windows Help file, you will receive this error message:
CAUSEThe examples for the domain aggregate functions are incorrect. The domain aggregate functions, like the SQL aggregate functions, can be used only within an SQL statement. WORKAROUNDUse the domain aggregate functions within an SQL statement, as in the following example. Enter the following as one, single line:
STATUSMicrosoft has confirmed this to be a bug in the Visual Basic version 3.0 Help file. This problem has been corrected in Visual Basic version 4.0. MORE INFORMATIONStep-by-Step ExampleThe following example demonstrates how to print to the form an average of all the AU_ID values in the Authors table from the BIBLIO.MDB database that comes with Microsoft Visual Basic version 3.0 for Windows:
The Following are the Domain Aggregate Functions: DAvg Additional query words: buglist3.00 3.00 fixlist4.00
Keywords : APrgDataAcc |
Last Reviewed: September 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |