Datasheet help Needed

  • Thread starter Thread starter Charles
  • Start date Start date
C

Charles

I have a datasheet that accepts news rows. when the row is entered a popup
menu appears and a processing option is selected. The problem is that if
the user does not click on a row other than the one just entered the
database is not updated and the record does not exist to be processed.

If I have the user click on ANY other row the update to the database is
forced and everything works fine.

Question: How can I programatically forced the newly entered row to be
updated to the database without clicking to another row.

I have tried Movefirst, movelast and refresh without success.

Any help is appreciated

CL
 
Question: How can I programatically forced the newly entered row to be
updated to the database without clicking to another row.

Two ways (in VBA):

DoCmd.RunCommand acCmdSaveRecord

or

Me.Dirty = False

John W. Vinson[MVP]
 

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

Back
Top