doco
Power User
- Local time
- Today, 15:26
- Joined
- Feb 14, 2007
- Messages
- 482
Using MS Access 2013
These two statements are embedded in a bit of vb in the Report_Load event.
The attempt to add values to those fields (located in the Report Footer) create the subject error.
Oddly, if opening the report in design mode then activating the report from there, the code works as expected. But opening the report directly creates the error.
The two variables are initialized from RS.Fields().Value attribute of a DAO.Recordset object.
TIA
Code:
Me.txtGrzAccts.Value = vGrz
Me.txtTbrAccts.Value = vTbr
These two statements are embedded in a bit of vb in the Report_Load event.
The attempt to add values to those fields (located in the Report Footer) create the subject error.
Oddly, if opening the report in design mode then activating the report from there, the code works as expected. But opening the report directly creates the error.
The two variables are initialized from RS.Fields().Value attribute of a DAO.Recordset object.
TIA