473,394 Members | 1,867 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.

get the current procedure name - Access 2000

Hi,

Does anyone know if it is possible to get the current procedure name
from any function or code please.

I have had many occassions to need this but have not been able to find
a way of doing it.

One example of the use I want to put it to is to create a generic
error message function that can be called by passing the calling
procedure to it such as below.

msgbox "There has been an error in " & <passed procedure name> & "."
If anyone knows how to do this or can tell me where to find out the
way to do it I would be most appreciative.

TIA

Tony Wilkinson
Nov 12 '05 #1
1 2371
Get hold of the mztools addin (www.mztools.com ).

One of the things this does is allow you to enter Error Handling code to a
template you can define, one of the intrinsic variables it uses is the
procedure name

--
Terry Kreft
MVP Microsoft Access
"Tony Wilkinson" <so*****@home.com> wrote in message
news:bk********************************@4ax.com...
Hi,

Does anyone know if it is possible to get the current procedure name
from any function or code please.

I have had many occassions to need this but have not been able to find
a way of doing it.

One example of the use I want to put it to is to create a generic
error message function that can be called by passing the calling
procedure to it such as below.

msgbox "There has been an error in " & <passed procedure name> & "."
If anyone knows how to do this or can tell me where to find out the
way to do it I would be most appreciative.

TIA

Tony Wilkinson

Nov 12 '05 #2

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

Similar topics

6
by: Michael Spiegel | last post by:
Hi, I have a stored procedure that needs to know the name of the table from which it is called. If you are familiar with a "this" pointer in Java or C++, that's very similar to what I need. I...
6
by: Wim van Rosmalen | last post by:
I've upgraded MS-Access 2002 to a MS-Access Project (adp), so now I have to deal with more sophisticated queries (may I call them so?) like stored procedures. I have a form with a combobox for...
1
by: Mark Dicken | last post by:
Hi All I have found the following Microsoft Technet 'Q' Article :- Q210368 -ACC2000: How to Pass an Array as an Argument to a Procedure (I've also copied and pasted the whole contents into...
0
by: Tony Wilkinson | last post by:
Hi, Does anyone know if it is possible to get the current procedure name from any function or code please. I have had many occassions to need this but have not been able to find a way of...
8
by: Mark Flippin | last post by:
This is for a reporting problem using: Access 2000 SQL Server 2000 Both at SP3 I've a stored procedure in SQL Server 2000 which builds a result set from a disparate set of tables, utilizing...
5
by: Lyn | last post by:
Is there any way of determining in VBA the name and arguments of the currently executed procedure? To assist in debugging, I would like to be able to trace the procedures as they are executed. ...
2
by: Dino L. | last post by:
How can I run stored procedure (MSSQL) ?
3
by: giftron | last post by:
MS Access 2000- I have a table with 200 fields named F001 through F200 and a form to collect data for those fields. I need to execute an event procedure On Exit to do a conversion ie. ...
11
by: c676228 | last post by:
Hi everyone, I am just wodering in asp program, if there is anybody writing store procedure for inserting data into database since there are so many parameters need to be passed into store...
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
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
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...
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
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...
0
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...

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.