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

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

Recommended Posts

Posted

I have a field that makes a Client ID by taking data from the info inserted. It creates a unique id. However I would like to have the end user be able to change it if they have to use a specific id already in use. Maybe a button that pops up and asks what they want to use as an id for that client. any ideas??

Thanks

Posted

You can make the field on the layout a button.

When you click on the button it the script can first check if the user has permission to change Client ID.

If your permission allows, display a dialog box with the Client ID field, and a message.

Clicking the OK, button, checks that the ID is unique or fits any other criteria. If it dosn't pass, display the dialog again. (use a loop to do this)

when the client ID passess, you can commit the record.

Is this what you want?

Jerry

Posted

We have had several discussions about Client IDs, and allowing clients to play with them.

Be aware that if you allow the clients/users to enter, change, modify, delete, any IDs., do NOT use that Field for Relationships, etc., or you will have many problems.

Lee

Posted

I know Lee, but this specific database will have to have that option. I cringe at allowing it to be changed, and may just say no to it. But think I will try and see if it does what is needed.

Yes Jerry, that is the general idea. I was thinking of a button that pops up a window that allows them to change the ID, but maybe make it so it is automated with the option of user override, this may be easier.

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