Re: OpenReport Method
- From: "Eric D." <EricD@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 May 2005 06:19:29 -0700
That's not what I mean. Let's say I run a report like so:
DoCmd.OpenReport "report_name", acPreview,,"wherecondition"
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.
TIA,
Eric
"Marshall Barton" wrote:
> Eric D. wrote:
> >Is there a way to access the wherecondition parameter from the OpenReport
> >method?
>
>
> Now that is a confusing question. ;-)
> You specify the WhereCondition argument on the OpenReport
> method.
>
> Maybe you meant the report's Open event procedure?? If so,
> the Report's Filter property is supposed to contain the
> argument string.
>
> --
> Marsh
> MVP [MS Access]
>
.
- Follow-Ups:
- Re: OpenReport Method
- From: Marshall Barton
- Re: OpenReport Method
- References:
- OpenReport Method
- From: Eric D.
- Re: OpenReport Method
- From: Marshall Barton
- OpenReport Method
- Prev by Date: Reference a Control on a Nested Subform
- Next by Date: RE: Reference a Control on a Nested Subform
- Previous by thread: Re: OpenReport Method
- Next by thread: Re: OpenReport Method
- Index(es):
Relevant Pages
|