Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subform not saving record 1

Status
Not open for further replies.

Costefran

Technical User
Jan 2, 2008
197
GB
Can anyone help

I have a subform that doesn't seem to save the record to its underlying table unless I close the main form or navigate to a new record and then navigate back again

I have entered the following in after events on subform controls but it still doesn't seem to work

DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70

Any help would be gratefully received
 
You could try this one:

DoCmd.RunCommand acCmdSaveRecord
 
Thanks

Stumbled across Me.Dirty = False

and it works!!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top