Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have a procurement database where the Users can duplicate an old purchase request because the same item is purchased yearly. In my script for the user to duplicate, I have certain fields that are "Cleared" when the record is duplicated. I found that some of the fields that I requested "cleared" were not clearing. I realized that the User does not have access to those fields. How can I write the script so these fields will clear even though the user does not have access?

Thanks!

FileMaker Version: Dev 6

Platform: Windows 2000

Posted

Try using the Set Field script step with a null (double quotes) for those fields.

Set Field [fieldname, ""]

HTH, Mike

Posted

Adele,

The IsEmpty function just checks to see if a field is empty, it does not clear the field.

HTH, Mike

Posted

Also, the good thing about the Set Field function is that you do not have to have the field on the current layout. You can be on one layout and use the Set Field function to modify a field on a different layout.

Mike

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