When the report is running the OnOpen event, I want to see what the value of
that wherecondition was. How do I do that? I tried doing Me.Filter and
Me.ServerFilter, but these give me an empty string.
Maybe it's different in an adp, but, as I said, I expect to
find the wherecondition string in the Filter property, at
least in an mdb. I don't think there is another way to get
to it.
If that's not happening for you, try placing a copy of
wherecondition in a hidden text box on the form so the
report can retrieve it from there. Alternatively, you could
use OpenArgs to pass a copy of wherecondition.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.