ACC1x: Reserved Error (-1603) Previewing a ReportID: Q109401
|
When you preview a report, you receive the error message:
Reserved error (-1603); there is no message for this error.
This error occurs when an Access Basic function references a field in the report's underlying data that is not on the report and the resulting dynaset is empty.
Place the field referenced by the function on the report. If you do not want to see the field on the report, set the field's Visible property to False.
Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.
Table: Table1
-------------------
FieldName: ID
DataType: Number
Table Properties: Table1
------------------------
PrimaryKey: ID
ID
--
1
2
3
Query: Query1
---------------
Type: Select
Field: ID
Criteria: 10
Function MyFunction (C As Control)
Debug.Print C
End Function
Report: Report1
-----------------------------------
RecordSource: Query1
Text box: Field1
ControlSource: =MyFunction([ID])
Additional query words: Reports AB
Keywords : kberrmsg kbusage RptOthr
Version : 1.0 1.1
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 30, 1999