lib/rfm/layout.rb
def find(hash_or_recid, options = {})
      if hash_or_recid.kind_of? Hash
        get_records('-find', hash_or_recid, options)
      else
        get_records('-find', {'-recid' => hash_or_recid.to_s}, options)
      end
    end
# Finds a record. Typically you will pass in a hash of field names and values. For example:
#
#   myLayout.find({"First Name" => "Bill"})
#
# Values in the hash work just like value in FileMaker's Find mode. You can use any special
# symbols (+==+, +...+, +>+, etc...).
#
# If you pass anything other than a hash as the first parameter, it is converted to a string and
# assumed to be FileMaker's internal id for a record (the recid).
Finds a record. Typically you will pass in a hash of field names and values. For example:
myLayout.find({"First Name" => "Bill"})

Values in the hash work just like value in FileMaker's Find mode.

If you pass anything other than a hash as the first parameter, it is converted to a string and
assumed to be FileMaker's internal id for a record (the recid).
Finds a record . Typically you will pass in a hash of field names and values . For example : myLayout . find ( { " First Name " = > " Bill " } ) Values in the hash work just like value in FileMaker ' s Find mode . If you pass anything other than a hash as the first parameter it is converted to a string and assumed to be FileMaker ' s internal id for a record ( the recid ) .
def find(hash_or_recid, options = {})
      if hash_or_recid.kind_of? Hash
        get_records('-find', hash_or_recid, options)
      else
        get_records('-find', {'-recid' => hash_or_recid.to_s}, options)
      end
    end
def find ( hash_or_recid , options = { } ) if hash_or_recid . kind_of? Hash get_records ( '-find' , hash_or_recid , options ) else get_records ( '-find' , { '-recid' => hash_or_recid . to_s } , options ) end end
Finds a record.
Finds a record .
hash_or_recid
options