Geordie2008
Registered User.
- Local time
- Today, 19:02
- Joined
- Mar 25, 2008
- Messages
- 177
Afternoon ll,
How do you refresh,reload,requery the underlying queries that a report and subreports are based on?
My report opens from a buttonclick on a form based on criteria in a combobox on that form.
I selected one option from the combobox and then clicked to open the report. This works fine the first time. When I chnge the criteria and open the report again, it is based upon my first selection.....
5 of my queries are based on the value passed into the combobox on this form (using: [Forms]![frmOpenReport]![name]), and I need to requery all of them once the "Open Report" button is clicked... (which is only made visible once a name has been selected from the combobox)
How do I requery my 5 queries before opening the report when the "open report" button is clicked?
Many thanks,
Mandy
How do you refresh,reload,requery the underlying queries that a report and subreports are based on?
My report opens from a buttonclick on a form based on criteria in a combobox on that form.
I selected one option from the combobox and then clicked to open the report. This works fine the first time. When I chnge the criteria and open the report again, it is based upon my first selection.....
5 of my queries are based on the value passed into the combobox on this form (using: [Forms]![frmOpenReport]![name]), and I need to requery all of them once the "Open Report" button is clicked... (which is only made visible once a name has been selected from the combobox)
How do I requery my 5 queries before opening the report when the "open report" button is clicked?
Many thanks,
Mandy