Open the form in modifier, and expand the form window
Click on LAYOUT > SHOW INVISIBLE FIELDS

Search for SOPTYPE, drag it to a visible part of the form.
Change its visibility to TRUE, and it will change color.

Open the form in Dynamics, add the field to VBA

and you'll have a reference to it in VBA. Now, reverse the process to hide it again.