mdnuts
Registered User.
- Local time
- Today, 13:07
- Joined
- May 28, 2014
- Messages
- 131
G'day all.
I have the following structure
- Form "frmTestResults - contains all specific information for a given AP number
- - Sub Report "rptAPNumber (not linked master/child) - continuous report just listing all of the "AP" numbers.
The user can select any of the AP numbers on the report and have it load the main form with all relevant details. What we'd like to do is when the main form is loaded - have that particular AP Number show up at the top of the report list.
Right now i have that in the report_current(), but I've tried it in the form_current() as well by setting focus to the report first. It does not error at all, just does not change the current view of the report. I thought it might have been because i have the report setting an order On Load - but removing that did not alter things at all.
Any thoughts? this seems simpler than it has been.
I have the following structure
- Form "frmTestResults - contains all specific information for a given AP number
- - Sub Report "rptAPNumber (not linked master/child) - continuous report just listing all of the "AP" numbers.
The user can select any of the AP numbers on the report and have it load the main form with all relevant details. What we'd like to do is when the main form is loaded - have that particular AP Number show up at the top of the report list.
Code:
DoCmd.SearchForRecord , , acFirst, "[AP_Acronym]=" & Forms!frmTestResults.AP_Acronym
Right now i have that in the report_current(), but I've tried it in the form_current() as well by setting focus to the report first. It does not error at all, just does not change the current view of the report. I thought it might have been because i have the report setting an order On Load - but removing that did not alter things at all.
Any thoughts? this seems simpler than it has been.