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

How can I lock fields of a record, but not all fields?


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

Recommended Posts

Posted

Ok here is what I need to do.

I have a database with many fields used to controlling the disposition of material.

I also have a need to lock this data after it has been approved. (no problem with this).

Now here is the issue.

I need all those fields locked with the exception of 3 fields that need to be edited at a latter time,

These fields would be for such things as entering in a RMA number, when the date replacements have been brought in, or a closed date when the item record has been finished.

How can I lock fields of a record, but not all fields?

James

FM 8.5 Pro/Advanced

FM Server 8

Posted

This might work. Will I have to have a new window for this or is there a way to enter the data from strait into what looks like the same fields?

Where do I set the script to run with full access privileges? I have seen it before but now I can not find where I saw it.

James

Posted (edited)

Are you talking about the custom dialog box in the script as the UI?

This would cause a problem as they slowly add additional fields say 5 or 6.

Or is there a way to create a layout and then run that layout with full access?

I have tried having a script open that layout however that did not allow the editing of the fields.

Thanks

James

Edited by Guest
Posted

Hi

it depends in wich manner you have loocked the record.

If you loocked it with the use of privileges, but still the user can see the fields, sure he can insert the cursor into those fields, too.

So a script:

Go to Portal Row [No dialog; Get(PortalRowNumber)]

Show Custom Dialog ["Complete the 3 fields"; DB::field1;DB::field2;DB::field3]

may solve your problem

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