I have a series of check boxes, that when the user checks it, I open a form. I pass in the name of the check box to the second form via OpenArgs. I want to force the check box to unselected. But I want to make the routine generic.
Instead of setting the field like this line,
'Forms!frmAccountDev!chkIncumbency_F = 0
How can I set the value to 0 using the passed in field name. In the old days using clipper I could do something like this by prefixing the value with the address of operator "&" .
Forms!frmAccountDev!&strValue (passed in from openargs)
Can I do this in VBA?
Instead of setting the field like this line,
'Forms!frmAccountDev!chkIncumbency_F = 0
How can I set the value to 0 using the passed in field name. In the old days using clipper I could do something like this by prefixing the value with the address of operator "&" .
Forms!frmAccountDev!&strValue (passed in from openargs)
Can I do this in VBA?