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

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

Recommended Posts

Posted

I am modifying a fm database with a new value-list entering data. I want to apply this facility to the NEW records, but , if the field is not empty (old records), i would like to show a message asking, for example "

Posted

Take the field out of the tab order and specify it as a button, with the script:

If [ not IsEmpty(yourField) ]

. Show Message("do you really...?")

. If (Status (CurrentMessageChoice) = 2 )

. . Exit Script

. End If

End If

Go to Field(yourField)

So when you click the field, if the field is not empty, you'll get a message. I've made the default choice (1) OK, and the other (2) Cancel. So if you click Cancel, the script Exits. Whereas if you click OK, or the field is empty, the script performs the last step and goes into the field.

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