Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: Access XP Class Modules

date posted 8th March 2006 22:11

As Ben has said, you need to look at your architecture and think if what
you're trying to do is the most appropriate solution. I can't remmeber
if under Access XP you have a "callbyname" type function or the ability
to point to a function / routine in memory - in effect the location is
determined at run-time so late bound. You might then be able to do
something with it.

One other option is to have a single property of the object that you're
creating and have a key/value collection of it, that way you have one
property of the object that holds multiple values for it and you can
access that value by a string, e.g.,

Myvalue =3D MyObject.Collection("myparam")

HTH
Cheers
Andy

-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of
Nicholas Smith
Sent: 08 March 2006 22:45
To: Andy Macnaughton-Jones
Subject: RE: FN-FORUM: Access XP Class Modules


I'm not using VB.net I'm using Microsoft Access XP using VBA coding.

I know that the property exists but rather than call the property direct
I'd rather like to call it using a variable (ie have one generic
function that is called from numerous places and has different inputs)


--
Freelancers, contractors earn more with Prosperity4 Call 0870 870 4414
or visit www.prosperity4.com and benefit from Inland Revenue approved
expenses today.

To advertise here: http://www.freelancers.net/advertising.html



Messages by Day
March 31st 2006
March 30th 2006
March 29th 2006
March 28th 2006
March 27th 2006
March 26th 2006
March 25th 2006
March 24th 2006
March 23rd 2006
March 22nd 2006
March 21st 2006
March 20th 2006
March 19th 2006
March 18th 2006
March 17th 2006
March 16th 2006
March 15th 2006
March 14th 2006
March 13th 2006
March 12th 2006
March 11th 2006
March 10th 2006
March 9th 2006
March 8th 2006
March 7th 2006
March 6th 2006
March 5th 2006
March 4th 2006
March 3rd 2006
March 2nd 2006
March 1st 2006


Messages by Month
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000