Developer’s Guide

Table Of Contents
Valid names used in CGI requests for FileMaker XML data
B-7
Optional with: –find requests
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–recid=22&–delete
–modid (Modification ID)
Name/Value Type: Parameter
What it does: Refers to the latest version (incremental counter
number) of the record. This allows you to take necessary measures
to ensure an –edit request is applied to the most current version of the
record, by including a warning and an option to retrieve the most
current record before the –edit request is allowed.
Value is: A modification ID, which is a unique identifier for the
current version of a record in a FileMaker Pro database.
Optional with: –edit requests
Requires: The –recid parameter
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–recid=22&–modid=6&last_name=Jones&–edit
–lop (Logical operator)
Name/Value Type: Parameter
What it does: Specifies how the find criteria are combined as either
an AND or OR –find request.
Value is: Either AND or OR. If the –lop parameter name is not used,
then the find request is assumed to be an AND request.
Optional with: –find requests
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
Last+Name=Smith&Birthdate=2/5/1972&–lop=and&–find
–op (Comparison operator)
Name/Value Type: Parameter
What it does: Specifies the comparison operator to apply to the field
name/value pair that follows it in a –find request.
Value is: The operator to use. There are short and long versions of
each operator. The default operator is "begins with". Valid operators
are as follows:
You can use any FileMaker Pro –find operator by specifying the
begins with (bw) parameter. For example, to specify the "Find
Content Match" (= =) operator, you would specify the begins with
parameter (bw) and then you would place the characters "==" before
the actual search criteria. The required lines would look like this:
<input type="hidden" name="–op" value="bw">
<input type="text" name="FirstName" value="= =Sam">
Optional with: –find requests
Requires: A field name and a value
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–op=eq&FirstName=Sam&–find
Short Long FileMaker Pro equivalent operator
eq equals =word
cn contains "word"
bw begins with word*
ew ends with *word
gt greater than > word
gte greater than or equals >= word
lt less than < word
lte less than or equals <= word
neq not equals omit, word