ACC1x: Cannot Use First() and Last() Functions in a ReportID: Q103190
|
Microsoft Access returns a #ERROR message in your Report field when you use First() or Last() functions.
It may be possible to use DFirst() or DLast() domain aggregate functions to achieve the results you want. However, these functions ignore any sorting or grouping in your report. You may need to supply a criteria to these domain functions to return the data desired.
This problem no longer occurs in Microsoft Access version 2.0.
Object: Text Box
----------------
ControlName: First Product
ControlSource: =First([Product Name])
The text box that you added, First Product, evaluates to #ERROR.
Microsoft Access "Language Reference," versions 1.0 and 1.1, page 139
Additional query words: first last pounderror
Keywords : kbusage RptSort
Version : 1.0 1.1
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 26, 1999