|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am entering data into a subform & then clicking on a button. I would like the data I entered to be updated when I click on the button, the way it is updated when I move to a new record. Can anyone advise me??
Much thanks! |
|
#2
|
|||
|
|||
|
put the following code in the On Click event, before doing whatever else the button does
If Me.Dirty Then DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 |
|
#3
|
|||
|
|||
|
You can also use this syntax
Me.Dirty = Not Me.Dirty lwells |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft Access Development > how to update a control on lostfocus |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|