473,394 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

All Built-in Functions died after I built a macro

(Access 2003)
I wanted to chain a slew of queries together and tried it in VBA, then thought of using a Macro since it isn't going to be run in code anyway.

The queries first purge temp files, then assemble status data from an outside data source... been running them for months.

I assembled the macro and ran it. Bam, Splat, Thud! Every call to any built-in function, like RIGHT(), DATE() etc. took a dump!

I de-constructed... trying the functions manually -- same thing. Then wrote new test query that just had a simple function call -- same thing.

Apparently assembling a macro destroys all the built-in functions in Access? Seems a steep price to pay for a little convenience, no?

I tried compacting/repairing, shutting down Access and re-starting, etc.

Anyone know what's up with this?

Thanks,
Sep 10 '07 #1
2 1061
... I figured out that it was the module stub hosing the database. once I deleted my aborted attempt at coding, the functions returned to normal.
Sep 10 '07 #2
Scott Price
1,384 Expert 1GB
Glad you got it working! One word on macros: they don't allow error handling. Use them with caution :-)

Regards,
Scott
Sep 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Carlo v. Dango | last post by:
Hello there.. in the interactive shell in pythonWin I can type >>> i= 2 >>> __builtins__.isinstance(i, int) True but when I make this function
5
by: Blair Hall | last post by:
Can anyone please tell me how to correctly use a built in function when there is a function of the same name in local scope? Here is an example. Suppose the following is in myApply.py: def...
2
by: Jacek Generowicz | last post by:
Functions defined in Python have type types.FunctionType, and are descriptors whose __get__ method turns them into bound or unbound methods. Functions defined in extension modules have type...
3
by: Gonçalo Rodrigues | last post by:
Hi, Does anyone know if and how I can, from within Python, read the signatures of builtin methods/functions? The following fails: >>> import inspect >>> inspect.getargspec(list.append)...
18
by: Roose | last post by:
I need this a lot: a one line way to do a n-ary and or 'or'. e.g., result = True for x in L: if not boolean_function(x): result = False or
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.