[AccessD] Eval not working?

Andy Lacey andy at minstersystems.co.uk
Sun May 4 12:42:35 CDT 2003


Sounds odd Ryan. It should work as you have it, and I'd certainly expect
Access to fail if the function name was incorrect. Have you stepped
through it in debug?
 

Andy Lacey
http://www.minstersystems.co.uk <http://www.minstersystems.co.uk/> 



-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Smethurst,
Ryan
Sent: 02 May 2003 17:24
To: 'accessd at databaseadvisors.com'
Subject: [AccessD] Eval not working?



---- London Borough of Bromley E-Mail Disclaimer ---- 
"For information about Bromley Council visit our web site
www.bromley.gov.uk" 

"The information contained in this message (including any attachments)
is confidential in that it is intended solely for the use of the
recipient to which it is addressed. If you are not the intended
recipient, the use of the information by disclosure, copying or
distribution is prohibited and may be unlawful." 

---- End of Disclaimer ---- 

Hi All, 

I have a series of functions that need to be run one after the other. 

They are all prefixed with the "Update_" and I was hoping to simply loop
through labels on a form to complete the names and voila.

But when I use: 

strname = First then Second then Third etc etc (example) 

Eval("Update_" & strName & "()") 

although I get no error, the function isn't called? 

Does anyone know why? 

TIA 
RyanS 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030504/b67dd836/attachment-0001.html>


More information about the AccessD mailing list