Jump to content

Can the Auto-Enter function be temporarily shut off?


bxm
 Share

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

Recommended Posts

Hi,

I have a database in FM7 that has a lot of fields with default values auto-entered.

When an existing record is duplicated, these default vales are entered, not the values from the record that I'm duplicating.

Is there a way to set auto-enter off in a script so that a record can be duplicated 100%?

Is there another approach to this problem?

thanks!

Link to comment
Share on other sites

Add a global field to your database called "auto enter state" or something. Use the value 1 to represent on and 0 or empty to represent off. Then just change all your auto enters to be:

If( table::autoenterstate ; Your current field contents here )

Then you can control whether they are on or off by changing that one field.

Link to comment
Share on other sites

This topic is 5778 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
 Share

×
×
  • Create New...

Important Information

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