- Filemaker Pro : Simple Script
- Posted by fkissam on June 28th, 2004
Had a problem with a simple FileMaker Script with FileMaker Pro6 for
Windows.
I performed a FIND for a RECORDTYPE = JOHN. When the script executes,
sometimes there are no RECORDTYPE = John. Therefore, the app returns a
screen that says "no records match this request". When it happens that NO
records match this request, I need to have the SCRIPT abort. I tried using
the script commands HALT SCRIPT and EXIT SCRIPT. However, I think FMPro
wants a user to click either MODIFYFIND OR CONTINUE OR CANCEL.
However, if there is a RECORDTYPE = JOHN, I would want the script to execute
normally.
Any suggestions on how to accomplish what I want.
- Posted by Scott Davis on June 28th, 2004
Example:
Set Error Capture [ On ]
Perform Find [ Restore find request, No Dialog ]
# "RecordType , = 'John'"
Set Error Capture [ Off ]
If [ Status(CurrentFoundCount) = 0 ]
Exit Script
End If
"fkissam" <fkissam@bellsouth.net> wrote in message news:<H7MDc.1207$1D2.1131@bignews5.bellsouth.net>. ..
- Is there a driver for a FileMaker Pro CD? (Microsoft Windows) by Sweetpea
- how to: create simple logout script file (Help and Support) by di98mase
- Re: any free Pagemaker Pro or Filemaker sites (Software & Applications) by MightyKitten
- FileMaker Pro (Computers & Technology) by Jim PKP
- Writing a simple cgi-script with perl (Computers & Technology) by Runar Furenes

