Reference a form control dynamically

mstallmannmstallmann Member Posts: 138
edited 2003-12-18 in Navision Attain
I am trying to reference the properties of a form control, using a string to identify the control. Is there a control collection on the form that I can access the control from using an index, or something of that nature? Currently, I know that i can access a control property by:

CurrForm.ControlName.Property

Is there some way to do it like:

VAR = 'ControlName'

CurrForm.[VAR].Property

Thanks in advance,

Mike

Comments

Sign In or Register to comment.