Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7032 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I have a program that opens a new window that runs a new record script. I have a submit button that closes and commits the records based on data entry validation. The problem is that if you close the window using the 'X' button in the window title bar, the record commits as a blank record. My question is there a way to grey out those buttons in the titlebar or is there a script that will do this for us?

Thanks in advance.

Posted

Is your layout in the new window set up with "Save Record Changes Automatically" unchecked. That will ensure that you cannot close the window without a dialog box coming up. Of course you can still click save and save a blank record.

I would think that data validation should make at least some fields required and prevent committing a blank record.

Posted

Dacon's Menu control plugin removes the close, minimize, max features from windows.

http://www.dacons.net/fmplugins/menucontrol/prodinfo/index.html

  • 2 weeks later...
Posted

You can also place a pause in the new record script and hide the status bar. then with the submit script run it as resume instead of pause. This will prevent the window x from closing the window.

This topic is 7032 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.