Newbies jmjmcelwee Posted January 28, 2004 Newbies Posted January 28, 2004 OK, here's what I have to do. We have a database of email addresses. I need to set up a script that will do two things: when a find is performed and a match is found, give a message "Sorry-that ID is currently in use" and start new find. If no match is found, give a message "Congratulations-that ID is available". Is this even possible? Any help would be greatly appreciated!
EllenG Posted January 28, 2004 Posted January 28, 2004 Your script should look something like this: Set Error Capture [On] Loop Go to Field (your input field) Enter Find Mode [Pause] Perform Find [Replace Found Set] Exit Loop If ["Status(CurrentFoundCount]=0"] Show Message ["Not available message"]-- setup option to continue or quit If Status(CurrentMessageChoice) = (quit option) [Perform some other action] Exit Script EndIf EndLoop Show Message ["Congarts message" [Perform next action, ie New Record]
Recommended Posts
This topic is 7608 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