lounsbud Posted February 7, 2001 Posted February 7, 2001 I am using a slightly modified version of the find duplicate records script found in the FMP user guide for version 4. My question is this, I am running a script from my original which looks for recordfs in the found set. If it finds any, it sends a message, deletes the record and returns to an input layout. If it doesn't, it enters the record, displays a message, and moves to a calendar screen. Here in lies the problem, if it finds no records everything works except before my message the error message comes up. It is themessage you get whenever you do a find and no records are in the found set. If you click continue, everything is fine but I want to be able to have the user never see that message. If anyone can make sense of this and can help me out, I would greatlt appreciate it. David
PinnWal Posted February 7, 2001 Posted February 7, 2001 Add this to your Script: Set Error Capture (on) If (status(CurrentError) = 401) Show Message(...) etc... Hope that helps. Later -)
lounsbud Posted February 8, 2001 Author Posted February 8, 2001 Thanks! I figured it was something simple but just couldn't figure it out being new to scripts and all. But the more I learn, the more I want to learn because the applications jump out at you. David
Recommended Posts
This topic is 8694 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