Addin Microsoft Access

Add-in Express™ Support Service
That's what is more important than anything else

Addin Microsoft Access
Addin Microsoft Access 
Josep Llort Tella




Posts: 34
Joined: 2012-01-18
Hi,

How can I make a button of my add-in for Microsoft Access verify if I have something pending to save and proceed to perform a certain action.

As for example the close button of the MSAccess interface, if I have something that I have not saved, it indicates it to me.
Posted 16 Jun, 2020 16:14:00 Top
Andrei Smolin


Add-in Express team


Posts: 18810
Joined: 2006-05-11
Hello Josep,

The VBA Object browser (see https://www.add-in-express.com/docs/net-tips.php#getting-help) shows that Form and Report classes have the Dirty property. I assume you look for this one.


Andrei Smolin
Add-in Express Team Leader
Posted 17 Jun, 2020 02:22:38 Top
Josep Llort Tella




Posts: 34
Joined: 2012-01-18
Hi Andrei,

No, what I want to know is if there is some way to check for unsaved items (tables, forms, reports, etc.)

For example, if I have created a new table and have not saved it, tell me that I have that item unsaved.
Posted 17 Jun, 2020 15:41:29 Top
Andrei Smolin


Add-in Express team


Posts: 18810
Joined: 2006-05-11
Hello Josep,

The Access Object Model doesn't seem to have a way to achieve this.


Andrei Smolin
Add-in Express Team Leader
Posted 18 Jun, 2020 01:29:15 Top