Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access value in controlsource

Status
Not open for further replies.

handoko

Technical User
Apr 18, 2003
24
0
0
ID
Hi Mike.
I want to access the value of controlsource from an object.
I mean the value of a field that i don't know the fieldname exactly. I'll use for create a class.

I'll try use this statement:
THISFORM.label1.caption=&thisform.textbox1.controlsource

it's doesn't work.
Help me please.

Thanks
 
myVar = thisform.textbox1.controlsource

THISFORM.label1.caption=&myVar


Jim

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top