W Wysy Registered User. Local time Today, 10:16 Joined Jul 5, 2015 Messages 335 Mar 15, 2022 #21 That is the name of the subform name. Code: txPartner = Forms!frmMassInput.fsubMassInput2.Form.CustomerID works fine
That is the name of the subform name. Code: txPartner = Forms!frmMassInput.fsubMassInput2.Form.CustomerID works fine
Eugene-LS Registered User. Local time Today, 20:16 Joined Dec 7, 2018 Messages 519 Mar 15, 2022 #22 Wysy said: works fine Click to expand... So use it that way Code: With Forms!frmMassInput.fsubMassInput2.Form txPartner = .CustomerID txAmount = .Total txCurrency = .currencyX txDescription = .TreatmentID End With
Wysy said: works fine Click to expand... So use it that way Code: With Forms!frmMassInput.fsubMassInput2.Form txPartner = .CustomerID txAmount = .Total txCurrency = .currencyX txDescription = .TreatmentID End With
W Wysy Registered User. Local time Today, 10:16 Joined Jul 5, 2015 Messages 335 Mar 15, 2022 #23 THANKS A LOT!!! Works like charm.
Cronk Registered User. Local time Tomorrow, 03:16 Joined Jul 4, 2013 Messages 2,799 Mar 16, 2022 #24 Or set an object to the sub form Code: dim frm as form set frm = Forms!frmMassInput.fsubMassInput2.Form txPartner = frm.CustomerID Not saying this is better but same result
Or set an object to the sub form Code: dim frm as form set frm = Forms!frmMassInput.fsubMassInput2.Form txPartner = frm.CustomerID Not saying this is better but same result