Not Updating record properly

  • Thread starter Thread starter SAC
  • Start date Start date
S

SAC

Access 2000

I have a main form and a subform.

On the subform the user enters an item and then clicks a command button to
open a form inorder to enter more details about the item.

When they close the detail form sometime the message says another user has
changed the data in this record...save changes, etc.

It has also corrupted the data file and I've had to repair it.

When they click the command button to open the detail form I have a
me.refresh as the first line of the code.

How can I refresh the data in the original subform that calls the detail
form after the detail form is closed?

Thanks.
 
I'm wondering if the put code in the on close event of the detail
orm ---<subform reference>.requery---

Would this take care of it?

Thanks.
 
Back
Top