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
690 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

732 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