Brian Dunning's FileMaker Custom Functions

GetRowsXML ( fieldList ; startRow ; endrow ; type ; encodeFlag )

Returns data in XML format for multiple fields and multiple records

  Average rating: 4.5 (33 votes) Log in to vote

Bruce Robertson   Bruce Robertson - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
GetRowsXML( fieldNames( get(fileName); "Audit"); 1; 3; "auditRecord"; 1)
  Sample output:
<TheTime>4:20 AM</TheTime>

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns data in XML format for multiple records starting at startRow ending at Endrow. You may specify TYPE which will add a start and end tag for each record, see example.

MODIFIED 4/14/07

Added encodeflag required by new version of GetNthRecordXML. If encodedflag is set to 1 characters like ">" are encoded as "&gt;" otherwise field data is returned unchanged.



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: