Can I change the control source property of a control using a variable eg
Forms("AllocateData")(newVar1).ControlSource = newVar1
where AllocateData is the table name and newVar1 is the name both of the control and the field in the table ?
I get 'Object variable with block variable not set' I have declared all the variables.
I'm not sure that I am addressing the field name for the new control source correctly.
Forms("AllocateData")(newVar1).ControlSource = newVar1
where AllocateData is the table name and newVar1 is the name both of the control and the field in the table ?
I get 'Object variable with block variable not set' I have declared all the variables.
I'm not sure that I am addressing the field name for the new control source correctly.