Form Template question

D

dsmerda

I created a form template and it is used a query form. The problem that I am
running into and not sure how to do if it is possible, when I try to close
the form it asks me if I wish to save the form. I don't want the people that
would be using it to save the form I just wish for them to be able to run the
query and see the information that it is returning from the database. Any
help would be great.
 
D

darkstar

One way is to place a button on the form labeled "Close" or "Exit".
In the Button Properties, click on Rules, click on Add..., click on
Add Action..., select "Close the form" and uncheck the checkbox for
prompting the user to save.

Clicking this button closes the form with no prompts, but if the user
tries to close the form using the "X" control box the prompt will
still appear if changes have been made to any field in the form. If
you absolutely want no prompts, you might be able to suppress this by
writing code linked to the On Close event of the form (please share if
you find a reference to this).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top