Jaume Posted May 7, 2004 Posted May 7, 2004 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 "
Fitch Posted May 7, 2004 Posted May 7, 2004 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.
Jaume Posted May 7, 2004 Author Posted May 7, 2004 Thank you, Tom, for your quick and useful solution. It really works! Jaume
Recommended Posts
This topic is 7852 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 accountSign in
Already have an account? Sign in here.
Sign In Now