Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onclose event fires when filteron

Status
Not open for further replies.

sozzer

Technical User
Apr 4, 2005
73
GB
I'd be grateful if anyone knows whether a report onclose event is supposed to fire when i apply a filter to a report using vba. My code opens a report and then applies a filter using whatever criteria a user input into a form. But whenever it does this, the onclose event seems to fire, opening a modal form and making the report inaccessible. it's driving me nuts trying to think of a way round this - help!

many thanks
 
Why not apply the Filter to the report's Recordsource, and then open the report?

HTH
Lightning
 
duplicate post thread702-1037143

________________________________________
Zameer Abdulla
Visit Me
Hold your child's hand every chance you get.
A time will come when he or she won't let you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top