mdnuts
Registered User.
- Local time
- Yesterday, 19:38
- Joined
- May 28, 2014
- Messages
- 131
Hello,
I have a report based on a query that i inserted into a form. The report has one visible field and two not visible fields. The report just lists identifying numbers (AP Acronym) and when a specific identifier is selected, the form displays all information relevant to that identifier. This works without issue. Fields being AP Acronym| Compliance Status | Test Result (AP Acronym being visible)
However if I try to sort the report to sort the identifiers based on the non-visible field Compliance Status - it pops a "Run-time error 3021 - No current Record". if i click end on the error, i can resume selecting identifiers without any further errors unless i reopen the form.
With the Report_Load event i have this.
any thoughts?
I have a report based on a query that i inserted into a form. The report has one visible field and two not visible fields. The report just lists identifying numbers (AP Acronym) and when a specific identifier is selected, the form displays all information relevant to that identifier. This works without issue. Fields being AP Acronym| Compliance Status | Test Result (AP Acronym being visible)
However if I try to sort the report to sort the identifiers based on the non-visible field Compliance Status - it pops a "Run-time error 3021 - No current Record". if i click end on the error, i can resume selecting identifiers without any further errors unless i reopen the form.
With the Report_Load event i have this.
Code:
DoCmd.SetOrderBy "Compliance Status ASC"
any thoughts?