Jump to content

Disable Commit Records


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

Recommended Posts

A button-attached script will perform error checking for field entries and then commit the record. I do NOT want a user to be able to commit a record by clicking outside a field, thereby avoiding using the button. Is it possible to disable this default Filemaker7 feature?

Link to comment
Share on other sites

Thanks for the solution! This approach should work, but given the number of entry layout screens and the number of fields/layout, this method seems very labor intensive. Why doesn't FM7 allow developers to force processing through scripts instead of allowing users the option of bypassing scripts by committing records by clicking outside fields. This seems to be a major weakness of FM7.

Link to comment
Share on other sites

Hi Ralph,

Thank you for your advice regarding how to "hide" a specific field

by using duplicate layouts containing global fields - one layout with a

specific field and one without. I've partially implemented your solution by writing a script to direct a user to the appropriate layout.

A remaining problem has to do with an ID field set up as a serial number

in each of the two 'global type' layouts. You can't automatically

display the next ID value if this ID field is identified as a global. If

it is not set as a global, the value can be shown (upon record creation). However, users may still click outside fields to commit a record instead of clicking on a button. I have two buttons on each layout. One button saves global values by using the Set Field command to move all global information to the final appropriate destination fields. The other button should allow complete escape from the record by resetting global fields to Null values ("") and reverting the record. Unfortunately, a user can still click outside a

global field before clicking this button. This causes gaps in the ID values.

Perhaps this is a small price to pay, but it frustrates me that FM is set up so that you can't force users to choose buttons instead of committing records by clicking outside a field.

Any thoughts?

Link to comment
Share on other sites

  • 10 years later...

This topic is 2989 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.