cause record to update?

L

ljb

I have a single record form with a button that opens another form on a
different table. How do I cause the first form's record to be updated and
remain on the same record before opening the other form? I've tried Me.Edit,
Me.Update, Me.AddNew and none of them work. However clicking on the record
selector does save it. I need to know how to do this in Access 2000 VBA.

thanks
LJB
 
R

Rick Brandt

ljb said:
I have a single record form with a button that opens another form on a
different table. How do I cause the first form's record to be updated and
remain on the same record before opening the other form? I've tried Me.Edit,
Me.Update, Me.AddNew and none of them work. However clicking on the record
selector does save it. I need to know how to do this in Access 2000 VBA.

Me.Dirty = False
or
DoCmd.RunCommand acCmdSaveRecord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top