I have set a "form-wide" variable on a certain form to contain integers. I want to populate this variable from a subform located on this form.
So, for example, if the form has an integer for CompanyID, I want to populate this variable from the subform so that when I am back on the main form I can use this variable with the populated variable. What is the syntax for this?