Hello,
I cant seem to figure how to reference a subform field in a macro on my main form.
I use the macro on a listbox so when a record is chosen, it locks certain fields.
The macro is working fine to lock main form fields but when I add an action referencing my subform field, I get the error "Thecontrol name is misspelled or referes to a control that doesnt exist.
as with vba code , i use the following syntax to reference my subform field
control name : forms!frmSalesOrders!fsubProductNew.form!WidthInches
property : locked
value : true
I also tried me!fsubProductNew.form!WidthInches but the macro fails when I add this action.
I cant seem to figure how to reference a subform field in a macro on my main form.
I use the macro on a listbox so when a record is chosen, it locks certain fields.
The macro is working fine to lock main form fields but when I add an action referencing my subform field, I get the error "Thecontrol name is misspelled or referes to a control that doesnt exist.
as with vba code , i use the following syntax to reference my subform field
control name : forms!frmSalesOrders!fsubProductNew.form!WidthInches
property : locked
value : true
I also tried me!fsubProductNew.form!WidthInches but the macro fails when I add this action.