Wortz, Charles
CWortz at tea.state.tx.us
Mon May 12 07:39:11 CDT 2003
Barb, If Lembit's suggestion doesn't work, then I suggest you pass the name of the calling report as a parameter to the called report. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] Sent: Monday 2003 May 12 07:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] subreport parent me.parent.name gives you the name of the parent report (at least for forms it works) Lembit Soobik ----- Original Message ----- From: Barbara Ryan To: Access List Sent: Monday, May 12, 2003 2:15 PM Subject: [AccessD] subreport parent In an Access 97 database, I have a subreport that is used by 2 different "parent" reports. In the subreport code, how can I determine which parent I am using at the time? I have tried a variety of syntax, but nothing will return the name of the parent report. Thanks, Barb