[AccessD] Pseudo Pointer to a Function

Max Wanadoo max.wanadoo at gmail.com
Tue Jun 23 10:43:55 CDT 2009


Because you would have to code it.  What is wanted is something like..

On error goto myerrorfunction

In there we (me) would like to know the stack properties of the modules it
took to get there.  At the moment, I have to set variables to imitate the
stack.

Max



-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins
Sent: 23 June 2009 16:39
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Pseudo Pointer to a Function

I don't know why you couldn't pass the name of the function as a string????

Susan H.



> Is there a way to pass the name of a function or procedure to another one?
> The need for this might occur when the given procedure must branch in
> various ways, and call a proc/function whose name depends upon the
> code-path, as it were. Yes, one could write a CASE statement to deal with
> this, and that is exactly what my current code does. But it set me to 
> wonder
> whether it's possible to pass the name of the function/procedure to call
> rather than code the CASE statement.

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list