Populate subform field with 2 digits of main form field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to populate a field (txtDC) on a subform with the first 2 digits
of a field (cboStore) on the main form.

Thanks in advance!
 
On the Before Update event of the SubForm you can write the code

Me.txtDC= Left(Me.Parent.cboStore,2)
 
Back
Top