wallis1905
Registered User.
- Local time
- Today, 16:51
- Joined
- Mar 13, 2007
- Messages
- 46
Hello, all hope somebody can help with this. I have a report, and in its header I want to display field values from a table. This is a different table to the reports records ource. However, the record read from the table depends on a field value from the reports record source. I presume there is a way to extract field values from the reports recordset, making your code "syncronysed" with the code you are executing on each page event for the report. Instead of pulling in the same recorset , used by the report sorted in the same manner to allign the two?
I have tried using,
Dim MyRstReport As Recordset
Dim MyDbs As DAO.Database
Set MyDbs = CurrentDb
Set MyRstReport = Me.Recordset
but it gives an error "This feature is not available in a MDB"
Am I being silly again?
I have tried using,
Dim MyRstReport As Recordset
Dim MyDbs As DAO.Database
Set MyDbs = CurrentDb
Set MyRstReport = Me.Recordset
but it gives an error "This feature is not available in a MDB"
Am I being silly again?