R
Richard
Experts:
A bound form X contains a bound subform Y and they are linked via
Child/Master settings.
UF is an unbound form that contains subform X and a command button
"New"
When new is clicked the event handler does
Me.X.Field1.DefaultValue = """New Field 1"""
Me.X.Field2.DefaultValue = """New Field 2"""
Me.X.Field3.DefaultValue = """New Field 3"""
Me.X.SetFocus
DoCmd.GoToRecord , , acNewRec
The new record is gone to, and the default values are shown as
expected. But the record does not get written to tblX.
How can I force the new record to get written to the table ?
Thanks,
A bound form X contains a bound subform Y and they are linked via
Child/Master settings.
UF is an unbound form that contains subform X and a command button
"New"
When new is clicked the event handler does
Me.X.Field1.DefaultValue = """New Field 1"""
Me.X.Field2.DefaultValue = """New Field 2"""
Me.X.Field3.DefaultValue = """New Field 3"""
Me.X.SetFocus
DoCmd.GoToRecord , , acNewRec
The new record is gone to, and the default values are shown as
expected. But the record does not get written to tblX.
How can I force the new record to get written to the table ?
Thanks,