New record on Subform

  • Thread starter Thread starter Cesar Zapata
  • Start date Start date
C

Cesar Zapata

Hello,

What could be the code for onlostfocus of a MaindDate field to create a new
record in the child form and fills the ChildDate text with the MainDate
text.

Thanks for any help.
 
If MaindDate is a control on the main form, and ChildDate is a control on the
subform, the syntax is:

Me![YourSubformName].Form![ChildDate] = Me![MaindDate]

HTH
Sprinks
 
Back
Top