Max Wanadoo
max.wanadoo at gmail.com
Tue Jun 23 10:42:55 CDT 2009
I hope somebody has the answer to this, it would make error handling a lot easier if we could easily identify the function/sub the error occurred in. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 23 June 2009 16:24 To: Access Developers discussion and problem solving 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