Welcome to the skill header Forums. You can ask questions, get help, or help other members out. Join our Forum for free.

Update form which i...
 
Notifications
Clear all

[Solved] Update form which is bound form, saves data automatically after clicking close button.

3 Posts
2 Users
1 Reactions
13 Views
Posts: 22
Topic starter
(@arseyguy)
Eminent Member
Joined: 9 months ago

Hi Ursh,

Why does Access saves data automatic after making changes in bound form. If i makes changes and don't want to save data and click Close button directly without clicking update button it still saves data.

Below is the code for close button where it is mentioned acSaveNo but it still saves the data. Any other options, not to save while clicking close button? 

DoCmd.Close acForm, "CustomerMainUpdate", acSaveNo

2 Replies
Posts: 20
 ursh
Admin
(@ursh)
Member
Joined: 1 year ago

Use "Me.Undo" before it.

Reply
1 Reply
(@arseyguy)
Joined: 9 months ago

Eminent Member
Posts: 22

@ursh Thank You So Much ... It works exactly what i wanted.

Reply
Share: