Hi Jim,
Why not utilize the Master/Child Link properties of the SubReport?
Example for a SubReport that has nothing for the Link Master/Child Fields
properties:
- on main Report create an unbound textbox control that has for the
control source something like
=Forms![Form Name]![text box control]
(note: the result of the textbox control would be used to filter
subReport)
- For the Master/Child Link properties of the subReport set it to
something like
Link Master Fields: [the unbound text box control]
Link Child Fields: [control on subReport]
I hope this helps! If you have additional questions on this topic, please
respond back to this posting.
Regards,
Eric Butts
Microsoft Access Support
(e-mail address removed)
"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
<
http://www.microsoft.com/security/security_bulletins/ms03-026.asp> and/or
to visit Windows Update at <
http://windowsupdate.microsoft.com/> to install
the patch. Running the SCAN program from the Windows Update site will help
to insure you are current with all security patches, not just MS03-026."
This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
| Content-Class: urn:content-classes:message
| From: "Jim Ridenour" <
[email protected]>
| Sender: "Jim Ridenour" <
[email protected]>
| Subject: Setting subreport Filter property in MDE database
| Date: Wed, 24 Mar 2004 08:49:30 -0800
| Lines: 11
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcQRv/o9S2mHInDUSMKA/PSyepIFhQ==
| Newsgroups: microsoft.public.access.reports
| NNTP-Posting-Host: tk2msftngxs01.phx.gbl 10.40.2.125
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.access.reports:134309
| X-Tomcat-NG: microsoft.public.access.reports
|
| I have an Access 2000 report that contains several
| subreports. I would also like to deliver an MDE
| database. Is there a way to set the Filter property for a
| subreport within an MDE database?
|
| Within an MDB I can open the report in design mode, set
| the property and close it before I open the main report.
| Opening a report in design mode is not allowed in an MDE
| or runtime environment.
|
| Any ideas?
|