VBA: Using a string as a field name

phual

Registered User.
Local time
Today, 03:19
Joined
Jun 20, 2009
Messages
27
I'll admit that I'm out of my depth with this (not a programmer, but needing to make use of some simple programming), but hope that this is an easy answer.

I've got a sting variable that is the name of a field on my form. I want to be able to use this to retrieve the value from my form.

In essence, I want to turn a string into an object name. How?

Stuart
 
me.Controls(Yourvariable)

That will retrieve your information....
 

Users who are viewing this thread

Back
Top Bottom