[AccessD] Eval not working?

Jim DeMarco Jdemarco at hshhp.org
Fri May 2 11:49:15 CDT 2003


Ryan,
 
If you're using A2K or greater I think you could try the CallByName function.  I have an example but it's in my laptop at home.
 
HTH, 

Jim DeMarco 
Director of Product Development 
HealthSource/Hudson Health Plan 

-----Original Message-----
From: Smethurst, Ryan [mailto:ryan.smethurst at bromley.gov.uk]
Sent: Friday, May 02, 2003 12:24 PM
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 



***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************

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


More information about the AccessD mailing list