473,666 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A97 Error 3085: Undefined function blalh blah blah in expression...

MLH
I got this error twice in 72-hours.
Each time, a different global procedure
was not found. One was being used
in an SQL statement and the other in
a Set stmt in DAO routine.

Both FNs, of course, are defined and
have been for 1.5 years. First time it
happened, I closed and restarted app.
Prob went away. Second time, I rebooted
thinking that might help. Prob went away.
First time I can recall ever seeing this.

Anyone ever noticed Access not being
able to find its global procedures?

Its quite annoying, actually. I have to
carefully examine my code to verify
what was done up to the point of the
failure. Then I have to manually con-
struct whatever needed to be done
AFTER the failure point. Its a real
pain in the ass. I really don't wanna
have to put in error-handling code that
tells Access to go back and look again
for FNs it can't seem to find the first time.
Jun 2 '07 #1
3 4106
You may be dealing with some corruption. Try importing your mdb into a clean,
new mdb that has Tools>Options>G eneral tab>Name AutoCorrect turned OFF and
see if you still have the problem. It onbly takes a minute to create the new
db.

MLH wrote:
>I got this error twice in 72-hours.
Each time, a different global procedure
was not found. One was being used
in an SQL statement and the other in
a Set stmt in DAO routine.

Both FNs, of course, are defined and
have been for 1.5 years. First time it
happened, I closed and restarted app.
Prob went away. Second time, I rebooted
thinking that might help. Prob went away.
First time I can recall ever seeing this.

Anyone ever noticed Access not being
able to find its global procedures?

Its quite annoying, actually. I have to
carefully examine my code to verify
what was done up to the point of the
failure. Then I have to manually con-
struct whatever needed to be done
AFTER the failure point. Its a real
pain in the ass. I really don't wanna
have to put in error-handling code that
tells Access to go back and look again
for FNs it can't seem to find the first time.
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via http://www.accessmonster.com

Jun 2 '07 #2
MLH
I'd kind-a-like to see if the problem resurfaces after clean boot. Ya
know how Access forgets the global vars in the event of an untrapped
runtime error. Dunno. Maybe something along those lines went awry???

xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxx
>You may be dealing with some corruption. Try importing your mdb into a clean,
new mdb that has Tools>Options>G eneral tab>Name AutoCorrect turned OFF and
see if you still have the problem. It onbly takes a minute to create the new
db.
<snip>
Jun 2 '07 #3
Good point and good luck. Good error handling is vital for a robust
application.

MLH wrote:
>I'd kind-a-like to see if the problem resurfaces after clean boot. Ya
know how Access forgets the global vars in the event of an untrapped
runtime error. Dunno. Maybe something along those lines went awry???

xxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxx
>>You may be dealing with some corruption. Try importing your mdb into a clean,
new mdb that has Tools>Options>G eneral tab>Name AutoCorrect turned OFF and
see if you still have the problem. It onbly takes a minute to create the new
db.

<snip>
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via http://www.accessmonster.com

Jun 2 '07 #4

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

Similar topics

6
2141
by: Simon Bailey | last post by:
In the following code at the end of the program z = 20 & y = 99. void doit(const int* x) { int* nonconst; nonconst = const_cast<int*>(x); *nonconst = 99; } int main(int argc, char* argv)
2
1322
by: Daniel Schüle | last post by:
Hi all! given the following code #include <iostream> using std::cout; using std::endl; struct X
5
1963
by: hpy_awad | last post by:
I wrote that example from a book and there is en error in the display module that it does not showing all the records are entered in the input module. I traced with some printf statments without getting the solution . I think the error in the display module loop condition. Thanks #include <stdio.h>
12
1801
by: RoSsIaCrIiLoIA | last post by:
On Mon, 07 Feb 2005 21:28:30 GMT, Keith Thompson <kst-u@mib.org> wrote: >"Romeo Colacitti" <wwromeo@gmail.com> writes: >> Chris Torek wrote: >>> In article <4205BD5C.6DC8@mindspring.com> >>> pete <pfiland@mindspring.com> wrote: > >>> >If you have >>> > int array; >>> >then
13
36891
by: -Lost | last post by:
You can test for an undefined value in two ways: function blah(x) { if (x == undefined) { x = 'default value'; } } That could also have been written: function blah(x)
3
4698
patjones
by: patjones | last post by:
Good morning all: In what seems like an ongoing saga to make the DSum function do what I need it to, I am now having trouble with a user-defined function in my VBA module. Here's the offending line of code: Me!txtLostDaysNoPaySeasonal = DSum("getNumberOfWeekdays(!, !)", "qryTest", "! = 'BK21312'") In this, getNumberOfWeekdays is a function that I define elsewhere in the module, as such: Function getNumberOfWeekdays(dteStartDate...
12
5664
by: Franz Hose | last post by:
the following program, when compiled with gcc and '-std=c99', gcc says test.c:6: error: jump into scope of identifier with variably modified type that is, it does not even compile. lcc-win32, on the other hand, reports Warning test.c: 7 unreachable code
2
9832
by: CCHDGeek | last post by:
I created a database with a separate front-end that is installed on each computer and linked to a back-end server. After installing the file on several computers, I realized I was getting this error: Run-time error '3085': Undefined function 'Date' in Expression. I did some research and found out that it's an issue with my references. So, I was able to fix it. But my concern is if I make changes to the front-end and need to update everyone's...
0
2751
by: Sebastian | last post by:
Hello I develop my applications in Access 2002. My development system is running Windows XP SP2 and I have Microsoft Office XP Developer. Microsoft Office XP is at SP3. I used Inno Setup (great product) to install my applications. When the Access Runtime was needed on the system I simply ran 'accessrt.msi' from Microsoft Office Developer discs. When another version of Access (other than Access 2002) was on the system then I simply...
0
8863
Oralloy
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...
0
8780
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
8549
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
8636
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 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...
1
6189
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
4192
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...
1
2765
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
2
2005
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1763
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.