What is the VB code to populate data in a current form based on data from another form? The current form (formA) was opened by one of two other forms.
if (formB is open) then
FieldO_formA = FieldFrom_formB
FieldOn_formA = FieldFrom_formC
formA was opened by either formB or formC