473,780 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access "synopsis" function?

I'm a Notes admin tasked with fixing an Access problem. I hope someone
will be gracious enough to help.

The database is getting a 3420, object not defined, and I need to find
all the places where the object is referenced.
In Notes, I'd just get a synopsis which shows all executable lines of
code in the entire database.

Does Access have a similar function?

Regards,
MVSGuy (I am waaaay outside my comfort zone here.)

Jul 3 '06 #1
9 1802
"mvsguy" <kk*****@fuse.n etwrote in message
news:11******** *************@p 79g2000cwp.goog legroups.com...
I'm a Notes admin tasked with fixing an Access problem. I hope someone
will be gracious enough to help.

The database is getting a 3420, object not defined, and I need to find
all the places where the object is referenced.
In Notes, I'd just get a synopsis which shows all executable lines of
code in the entire database.

Does Access have a similar function?

Regards,
MVSGuy (I am waaaay outside my comfort zone here.)
When you receive the error message you should get a "debug" option. Choose
this to find the offending line of code. Post it here along with any other
code in the module to give us as clue.

Regards,
Keith.
www.keithwilby.com
Jul 3 '06 #2
Keith Wilby wrote:
When you receive the error message you should get a "debug" option. Choose
this to find the offending line of code. Post it here along with any other
code in the module to give us as clue.
The code is as follows -
' Export report r_MA_BERP Preliminary z88
DoCmd.OutputTo acReport, "r_MA_BERP Preliminary z88",
"RichTextFormat (*.rtf)", "c:\urs_ar\ BERP Prel CS.rtf", True, "", 0

I can see it wants to send "r_MA_BERP Preliminary z88" to
c:\urs_ar\BERP Prel CS.rtf.

The problem I'm having is finding where "r_MA_BERP Preliminary z88" is
supposedly created.

Is there a way I can expose all executable code in an Access database
to track down where an object is instantiated?

Regards,
MVSGuy

Jul 3 '06 #3
"mvsguy" <kk*****@fuse.n etwrote in message
news:11******** *************@p 79g2000cwp.goog legroups.com...
Keith Wilby wrote:
>When you receive the error message you should get a "debug" option.
Choose
this to find the offending line of code. Post it here along with any
other
code in the module to give us as clue.

The code is as follows -
' Export report r_MA_BERP Preliminary z88
DoCmd.OutputTo acReport, "r_MA_BERP Preliminary z88",
"RichTextFormat (*.rtf)", "c:\urs_ar\ BERP Prel CS.rtf", True, "", 0

I can see it wants to send "r_MA_BERP Preliminary z88" to
c:\urs_ar\BERP Prel CS.rtf.

The problem I'm having is finding where "r_MA_BERP Preliminary z88" is
supposedly created.

Is there a way I can expose all executable code in an Access database
to track down where an object is instantiated?

Regards,
MVSGuy
I've had a quick look in the help under "OutputTo" and it seems that
"r_MA_BERP Preliminary z88" is the data container. It should be a stored
report (look on the "reports" tab in the db window) which runs from the code
and its resultant data exported to "c:\urs_ar\ BERP Prel CS.rtf".

Regards,
Keith.
www.keithwilby.com
Jul 3 '06 #4
I've had a quick look in the help under "OutputTo" and it seems that
"r_MA_BERP Preliminary z88" is the data container. It should be a stored
report (look on the "reports" tab in the db window) which runs from the code
and its resultant data exported to "c:\urs_ar\ BERP Prel CS.rtf".
Thank you, I was able to puzzle out that much from the help file as
well.

The problem is when I try to look at the report, the Design & Report
buttons are clickable but do nothing when they are clicked.

Pardon me if I keep whipping the same horse, but is there a
synopsis-like function that shows all the executable code in an Access
database? (including reports?)

kk

Jul 3 '06 #5
"mvsguy" <kk*****@fuse.n etwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
>
>I've had a quick look in the help under "OutputTo" and it seems that
"r_MA_BERP Preliminary z88" is the data container. It should be a stored
report (look on the "reports" tab in the db window) which runs from the
code
and its resultant data exported to "c:\urs_ar\ BERP Prel CS.rtf".

Thank you, I was able to puzzle out that much from the help file as
well.
Sorry to try to teach granny how to suck eggs ;-)
The problem is when I try to look at the report, the Design & Report
buttons are clickable but do nothing when they are clicked.

Pardon me if I keep whipping the same horse, but is there a
synopsis-like function that shows all the executable code in an Access
database? (including reports?)
I'm not sure what you mean by "shows all the executable code in an Access
database" - the code is available to view in each object (form, report,
module). What concerns me is that clicking on "design" for the report does
nothing, it's a conditions I've never encountered. Have you tried a
compact/repair or importing the report into a clean db file and see if you
can get it into design view from there?

Keith.
Jul 3 '06 #6
"mvsguy" <kk*****@fuse.n etwrote in
news:11******** **************@ m73g2000cwd.goo glegroups.com:
The problem is when I try to look at the report, the Design &
Report buttons are clickable but do nothing when they are clicked.
This suggests that you're using an MDE, so I'm not sure why you ever
saw the code that was throwing the error.
Pardon me if I keep whipping the same horse, but is there a
synopsis-like function that shows all the executable code in an
Access database? (including reports?)
Each object has its own module. If you want to search all of them,
open any code module, hit Ctrl-F (the FIND dialog), enter the string
you want to search for and then choose ENTIRE DATABASE as the scope
of the FIND operation.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jul 3 '06 #7
"mvsguy" <kk*****@fuse.n etwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
>
>I've had a quick look in the help under "OutputTo" and it seems that
"r_MA_BERP Preliminary z88" is the data container. It should be a stored
report (look on the "reports" tab in the db window) which runs from the
code
and its resultant data exported to "c:\urs_ar\ BERP Prel CS.rtf".

Thank you, I was able to puzzle out that much from the help file as
well.

The problem is when I try to look at the report, the Design & Report
buttons are clickable but do nothing when they are clicked.

Pardon me if I keep whipping the same horse, but is there a
synopsis-like function that shows all the executable code in an Access
database? (including reports?)
The executable code that displays/prints report is not exposed. The VBA code
is in class Modules for Forms and Reports, and other VBA code is in standard
Modules. It is quite probable that you have, not the source .MDB file, but a
"compiled" .MDE in which the VBA code is not available.

If you were expecting object-oriented code that "instantiat es" the Form or
Report, that's just not the way Access works.

DoCmd.OpenRepor t is the statement used to open a Report from VBA code. The
Report itself is designed visually, and snippets of VBA code may be defined
to run when certain events occur.

Larry Linson
Microsoft Access MVP
Jul 4 '06 #8
This thread is continued under a new heading that better reflects the
problem.

http://groups.google.com/group/comp....dc94bd5c8cc35a

Regards,
kk

Larry Linson wrote:
"mvsguy" <kk*****@fuse.n etwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
I've had a quick look in the help under "OutputTo" and it seems that
"r_MA_BERP Preliminary z88" is the data container. It should be a stored
report (look on the "reports" tab in the db window) which runs from the
code
and its resultant data exported to "c:\urs_ar\ BERP Prel CS.rtf".
Thank you, I was able to puzzle out that much from the help file as
well.

The problem is when I try to look at the report, the Design & Report
buttons are clickable but do nothing when they are clicked.

Pardon me if I keep whipping the same horse, but is there a
synopsis-like function that shows all the executable code in an Access
database? (including reports?)

The executable code that displays/prints report is not exposed. The VBA code
is in class Modules for Forms and Reports, and other VBA code is in standard
Modules. It is quite probable that you have, not the source .MDB file, but a
"compiled" .MDE in which the VBA code is not available.

If you were expecting object-oriented code that "instantiat es" the Form or
Report, that's just not the way Access works.

DoCmd.OpenRepor t is the statement used to open a Report from VBA code. The
Report itself is designed visually, and snippets of VBA code may be defined
to run when certain events occur.

Larry Linson
Microsoft Access MVP
Jul 10 '06 #9
mvsguy wrote:
I've had a quick look in the help under "OutputTo" and it seems that
"r_MA_BERP Preliminary z88" is the data container. It should be a stored
report (look on the "reports" tab in the db window) which runs from the code
and its resultant data exported to "c:\urs_ar\ BERP Prel CS.rtf".

Thank you, I was able to puzzle out that much from the help file as
well.

The problem is when I try to look at the report, the Design & Report
buttons are clickable but do nothing when they are clicked.

Pardon me if I keep whipping the same horse, but is there a
synopsis-like function that shows all the executable code in an Access
database? (including reports?)

kk
Not that I know of but it would be relatively easy to create one.

Jul 10 '06 #10

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

Similar topics

0
2788
by: Steve Carrow | last post by:
Hello, I'm trying to write a web app where an XML source file is transformed by an XSL document via a Java 1.4.1 servlet. Development is under WSAD 5 on Windows 2000. The XSL document refers to another XML file in the same directory as the source; that is done via a: "document(concat($other_file, ''), .)" call, where $other_file was defined by: <xsl:param name="other_file">other_file.xml</xsl:param>
21
4118
by: Alf P. Steinbach | last post by:
Just because there seems to be a lack of post-standard _correct_ tutorials: <url: http://home.no.net/dubjai/win32cpptut/>. Disclaimer: written this evening so perhaps there are "bugs" in the presentation -- are there? Plea: if someone takes the time to convert the word document to clean xhtml perhaps with stylish clear readable layout, then it will be an incentive for me to go on to write a next part, and a next part...
388
21929
by: maniac | last post by:
Hey guys, I'm new here, just a simple question. I'm learning to Program in C, and I was recommended a book called, "Mastering C Pointers", just asking if any of you have read it, and if it's worth the $25USD. I'm just looking for a book on Pointers, because from what I've read it's one of the toughest topics to understand. thanks in advanced.
13
2516
by: baumann.Pan | last post by:
when define char *p = " can not modify"; p ='b' ;is not allowed, but if you declare p as char p = "can modify"; p = 'b'; is ok? why?
13
3498
by: Andrew | last post by:
Hello, I am trying to find a way to take the contents of a directory and write it into a file. I have a directory that has several hundred text files, and I want to create a file containing all of the names of those files. I can get the contents of the directory onto the screen using system("dir"); But I have not been able to get this data into a file. I understand that stdout is a pointer to a file, and so I should be able to open and...
2
14137
by: contractsup | last post by:
Environment: $ uname -a AIX <withheld2 5 000100614C00 $ db2level DB21085I Instance "<withheld>" uses "32" bits and DB2 code release "SQL08024" with level identifier "03050106". Informational tokens are "DB2 v8.1.1.104", "s060120", "U805924", and
4
2830
by: CBFalconer | last post by:
regis wrote: Why don't you read the documentation (or source) from whomever supplied you that (non-standard) function? -- : Chuck F (cbfalconer at maineline dot net) : <http://cbfalconer.home.att.net> Try the download section.
14
307
by: Anna | last post by:
I try to put 8 int bit for example 10100010 into one character of type char(1 octet) with no hope . Could anyone propose a simple way to do it? Thank you very much.
21
1520
by: mdh | last post by:
Hi All, There is a line in the discussion of K&R (section 7-5) that says ... (end of 2nd paragraph, about the middle of the page)...in connection with the description of getc and putc...that "Like getchar and putchar, getc and putc may be macros instead of functions" Now, recently, I asked why va_list, va_arg, va_start etc were macros, and the answers included these two insights from KT;
0
9636
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10139
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10075
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5373
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5504
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.