Solved

How to add an omit request in a script (Filemaker)

Posted on 2011-03-11
4
463 Views
Last Modified: 2012-05-11
I have a script that performs a find, then waits for user input on a particular field.  After the user types in data into the field, then Continue is pressed and the find is performed.

I would like to add a new request right after the user input, and go to a particular field and enter data, but then use OMIT.  Can this be done.

ie: the script goes into find mode and selects the date field, then waits for user input. Then they hit continue, it creates a new request with OMIT in the request and types "Smith" into a name field and finishes the find.
0
Comment
Question by:ServalStudios
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 25

Assisted Solution

by:Will Loving
Will Loving earned 50 total points
ID: 35113134
Very easy. Just use the script step "Omit Record". On a Find request is has the same effect as making it an 'Omit' request.
0
 
LVL 4

Accepted Solution

by:
challengeday earned 200 total points
ID: 35113167
Sure!

Just use the script Step "Omit Record" - that step will check the "Omit Record" checkbox while in find.

Here is a sample script snippet

Enter Find Mode [ Pause ]
New Record/Request
Set Field [ Person::Name; "Smith" ]
Omit Record
Perform Find[ ]

(A find can also be specified within the Perform Find script step, in which case you can select Omit Records in the Action menu. It all depends on how you are doing it.)
0
 
LVL 4

Expert Comment

by:challengeday
ID: 35113190
Ha!

I took a few minutes writing up the answer and willmcn was faster!
0
 
LVL 1

Author Closing Comment

by:ServalStudios
ID: 35113231
Thanks To both of you.. That worked.  It helped to have it written out, I didn't realize you had to put the New Request in there and Set Field
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question