I have a main form called scanningdetails and a subform called labortrackingtablesubform.
When scanning a field in the main form I pass a value to a field [text12] in the subform. I then run this code on the field text12.
the code works when I open the subform by itself but not when...