February 7, 200124 yr 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
February 7, 200124 yr Add this to your Script: Set Error Capture (on) If (status(CurrentError) = 401) Show Message(...) etc... Hope that helps. Later -)
February 8, 200124 yr Author 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
Create an account or sign in to comment