If I test the integrity of my code, opening a module, clicking
Debug, Compile All Modules, the process stops at the first
occurrence of a coding error. Can I skip that and go on
somehow (you know, if the err occurs in a form module
I'm testing but don't wanna fix right now)?
How about a Debug, Compile All Modules Except For...
??? 4 1456
On Sun, 24 Jul 2005 08:05:00 -0400, MLH <CR**@NorthStat e.net> wrote: If I test the integrity of my code, opening a module, clicking Debug, Compile All Modules, the process stops at the first occurrence of a coding error. Can I skip that and go on somehow (you know, if the err occurs in a form module I'm testing but don't wanna fix right now)?
How about a Debug, Compile All Modules Except For... ???
Hi
look up conditional compiling (or conditional compilation) in help.
I have sometimes used this when I have similar code in Access and VB, or for DAO and ADO.
Thank-you, Polite Person. Although it was not what I really
would like to have seen, it made for interesting reading and
I'll play with it in the future.
On Sun, 24 Jul 2005 08:45:57 -0400, MLH <CR**@NorthStat e.net> wrote: Thank-you, Polite Person. Although it was not what I really would like to have seen, it made for interesting reading and I'll play with it in the future.
You're quick at replying!
I'm watching the F1 race and made my post during one of the adverts
MLH <CR**@NorthStat e.net> wrote in
news:6l******** *************** *********@4ax.c om: If I test the integrity of my code, opening a module, clicking Debug, Compile All Modules, the process stops at the first occurrence of a coding error. Can I skip that and go on somehow (you know, if the err occurs in a form module I'm testing but don't wanna fix right now)?
How about a Debug, Compile All Modules Except For... ???
Compile compiles all *open* modules, and all modules on which those
modules depend.
What that means is that if you have Module1 open and compile it, and
it uses a fuction/sub in Module2, which is closed, but saved in a
non-compilable state, then Module1 won't compile.
There is no getting around this restriction because it's absolutely
necessary.
Why do you have lots of non-compilable code lying around?
If it's because of conversion from Access 2, I wonder why the code
didn't get properly converted in the initial conversion? My
experience with Access 2 conversion to A97 was that it was pretty
simple to correct the parts that didn't compile after conversion --
took about an hour to step through all the code and fix the
problems.
One possible solution would be to move the non-converted code into a
single module, but any code that calls functions/subs in that
non-compilable will not compile.
Fix the code.
Be done with it.
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tim Churches |
last post by:
If a compiled Python extension module B includes code from some other
software A which is licensed only under the GPL, do other Python programmes,
C, which import module B also need to be licensed under a GPL-compatible
license (assuming C is/are to be distributed to third parties)?
I think the answer is yes, both from a lay (IANAL) legal and moral point-of-view,
but I am interested in hearing any arguments to the contrary. Note that I...
|
by: David W. Fenton |
last post by:
Today I was working on a hideous old app that I created a long time
ago that does a lot of showing/hiding/resizing of fields on one of
the forms. I had used constants to store reference values for many
of the top/height/left settings. I noticed that some of the
constants were defined by using other constant values, and I was
impressed that VBA could do that. Here's an example:
Const row1Top = 1.0208 * 1440 ' top of first row
Const...
|
by: Bradley |
last post by:
Has anyone else noticed this problem? I converted the back-end to A2000
and the performance problem was fixed. We supply a 97 and 2000 version
of our software so we kept the backend in A97 to make upgrading simple
for users. We've done it like that for years but a new client has been
having severe performance issues... solved by converting the backend to
2000.
--
regards,
Bradley
|
by: Ralph2 |
last post by:
Hello
Some time ago with the help of this group I made an amateurish
database that catalogs all of our shop drawings. Works really well ( I
think) but management, in its infinite wisdom, wants a "professional"
database.
So, they have contracted out a local programmer and his first "beta"
will not run.. He coded the *.mde in Access 2002 (in spite of being
informed that we have A97). Now he wants to run an installer that will
allow us to...
|
by: MLH |
last post by:
MyLocPhone: Format$(,"(@@@) @@@-@@@@")
The above expression is a field in a select query. On one XP box
(the dev box, of course). It works fine. On two other XP boxen -
it fails saying "Function isn't available in expressions in query
expression ..." ==> citing the MyLocPhone: Format$(...
as the problem.
The query is evaluated on-click of a command button. If it returns
records, there are things to be done. I have installed the A97...
| |
by: MLH |
last post by:
I had a form (Form12) with a code error in it. I knew it was there. I
even planned on fixing it (someday). I needed a comprehensive test
of all my code so I clicked Debug, Compile All Modules. My standard
modules were all good but the compilation test halted in a Class
Module on Form12 due to the error. OK, I thought, don't really
wanna screw around with this right now, so I'll take it out-a-the
equation. I chose it on the database window...
|
by: MLH |
last post by:
Have a look at the procedure below. In particular, note lines 1 and
21...
Private Sub JudHrngReqBtn_Click()
On Error GoTo Err_JudHrngReqBtn_Click
Dim ThisForm As String
ThisForm = Me.Name
Dim DocName As String
DocName = "frmJudicialHearingRqstNotice"
|
by: MLH |
last post by:
Trouble is, it doesn't happen every time. Yesterday, for example, it
happened only once and not again afterward. Some days ago, a similar
situation. Today, well - I tried 7 times straight to open the report
and each time, A97 shuts down. The seemingly hit 'n miss nature of
the error is intriguing. All I've been able to determine is that if I
allow the report to be opened from within code using this line...
DoCmd.OpenReport...
|
by: MLH |
last post by:
Can decompiling an A97 mdb result in fixing minor nasties that may be
responsible for some premature terminations of A97 (We are sorry. MS
Access 97 needs to close.... messages). I've found the following
recommendation and was wondering if any of you have used the
technique and why you did?
To decompile start Access with the /decompile switch. To do this from
windows do a Start, Run and then where it asks for the name of the
program to...
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |