473,490 Members | 2,487 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Accessing a Report properties without opening it

Helle all,

I'm using A97.

What I'd like to do it's to find all the reports in my DB that have a
certain string in the record source. Say, I'm looking for all reports
that have the table "Employee" in their record source (which is not a
QueryDef but text (SQL)).

Can I access the RecordSource property of a closed Report?

TIA

Yannick

Nov 13 '05 #1
1 1796
open the report in design view. then you can see the recordsource and
copy it elsewhere or whatever.

Do something like create a routine to loop through the AllReports
collection. Then open each in design view, and write the object name
and the recordsource string to a table. Then you can do all your
analysis from there.

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4565
by: Jeff | last post by:
Hi I have a report with a graph on it and want to change the minimum and maximum values for the value axis when it is previewed. This can't be done by adding code in the Open event as once the...
15
13254
by: Mark C | last post by:
All, I have exhaustingly been looking through the newsgroups in search of a way to systemically output an Access 97 report to a pdf file using the full version of Adobe Acrobat. I want the user...
3
14108
by: tommy | last post by:
I am working with the Invoice report in the Northwind sample database. How can I see the SQL statement that provides the data to the report? Thanks.
8
1834
by: David Horsman | last post by:
I have a report that lists File-B. My macro runs this report using a query as a filter. The query uses two files, the parent File-B and with a 0-many relationship to File-C. The query selects...
1
1456
by: Smartin | last post by:
I'm looking for a work-around to my printing issue. I designed a report that mimics a form that I am (so far) unable to print (see <NOSdnb5Ah4lnnf3eRVn-tA@giganews.com> ). I am able to print the...
1
2441
by: rxfrenc | last post by:
Hello, I am trying to create a report that displays balance impacting inventory transactions. I can easily pull the current on-hand balance in one query and the transaction history in another...
28
1902
by: ryanhokanson | last post by:
I was just trying to get a list of all my reports along with their widths. I can't use the "Reports" collection because it only works on open reports. So I tried looking into the "AllReports"...
0
224
by: Kelii | last post by:
evenlater, ok, so i think the thing that we have to get our heads around here is that there is no way to identify the selected fields in a recordsource without first opening the report. so, i...
10
9092
by: Snoopy33 | last post by:
I have a DB that I developed on access XP (2002) and deployed over a year ago. No one has had problems printing any of the reports within the DB until we started loading 2007 on new computers. ...
0
7112
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7183
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6852
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7356
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5448
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4878
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4573
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.