Design changes prompt

joeKra

Registered User.
Local time
Today, 16:07
Joined
Jan 24, 2012
Messages
208
Hi,

i would like to know if and how it's possible to disable the " save design changes " prompt when closing the form after after changing the sorting of the data , ascending \ desc, i'm using a navigation form so it prompts when going to another tab,

any help would be appreciated .
 
How are you closing it? Using code or just X'ing out?
 
choosing the next navigation button from navigation form
 
Bob,

I am having the same issue, did you figure anything out?

Samantha
 
I would like to know the same.

I have date range boxes which dynamically change the design of a pivot chart in a form (and thus also the query the chart runs off of). I would like to disable or (preferably) automatically NOT save design changes before move to another tab, or clicking the close button I created.

Any help?
 
Anyone still looking for a solution - I think I found it!

This is what I have done and it seems to work.

All of the on Load events of my forms I have set warnings to true
Code:
DoCmd.SetWarnings True

In addition I have set the filters on the datasheet form with VBA
Code:
Private Sub Form_Load()
    
    DoCmd.SetWarnings True
    Me.OrderBy = "JobNumber DESC"
    Me.OrderByOn = True
    Me.Filter = ""
    Me.FilterOn = False
        
End Sub

Lastly all of the navigation tabs I have set the warnings to False
Code:
Private Sub NavigationButton11_Enter()
DoCmd.SetWarnings False
End Sub

So far it seems to work, no more prompts!
Samantha
 
Worked beautifully. I didn't even use your middle code there as I was using a PivotChart that dynamically changed based on a query.

Did you turn the warnings back to True on form close event?
 
I'm really just learning, although the navigation tabs are where they are turned off. So perhaps it would be good practice to turn them back on, it couldn't hurt.
 

Users who are viewing this thread

Back
Top Bottom