G
Guest
I have a 100 toggle boxes on the form. I have it programmed that when you
select a box, it goes to a public sub that looks at whether there is a record
in a table, and either creates a record or changes it. This works fine, I
like it. However, if the record DOESN'T need to be changed- how do I tell the
code to make the toggle button back to a "0" position, not a "-1" position? A
text box on my form has the correct field name. sctn =
forms!frm_map!labelbox. In code, how do I tell it I want to reference
forms!frm_map! sctn? with sctn being the field name?
select a box, it goes to a public sub that looks at whether there is a record
in a table, and either creates a record or changes it. This works fine, I
like it. However, if the record DOESN'T need to be changed- how do I tell the
code to make the toggle button back to a "0" position, not a "-1" position? A
text box on my form has the correct field name. sctn =
forms!frm_map!labelbox. In code, how do I tell it I want to reference
forms!frm_map! sctn? with sctn being the field name?