[AccessD] Pseudo Pointer to a Function

Mike Mattys mmattys at rochester.rr.com
Tue Jun 23 10:45:02 CDT 2009


Hi Arthur,

There is a CallByName function
I saw an example at PlanetSourceCode and a few items
in Google regarding its use.

-
Michael R Mattys
MapPoint and Database Dev
www.mattysconsulting.com
-
----- Original Message ----- 
From: "Arthur Fuller" <fuller.artful at gmail.com>
To: "Access Developers discussion and problem solving" 
<accessd at databaseadvisors.com>
Sent: Tuesday, June 23, 2009 11:24 AM
Subject: [AccessD] Pseudo Pointer to a Function


> 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.
> A.
> -- 
> 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