Solved

How do I change the recordsource of a subreport within another subreport using VBA. Changing a subreport recordsource is possible of course using VBA but I have not found a way to go another level

Posted on 2008-10-24
4
687 Views
Last Modified: 2013-12-05
I am using an ADP in Access 2000  
How do I change the recordsource of a subreport within another subreport using VBA. Changing the
recordsource in a subreport is of course possible eg.
 
Reports(0)("subreport").Report.RecordSource = strSQL

but I have not found a way to do it for another level deeper. I keep getting the error messsage 'object doesent support this property or method'

 
0
Comment
Question by:HatchIT
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 22803386
reports!report1.subreport1.report.subreport2.report.recordset
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22803405
or ...recordsource
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question