LassoScript Utility
Basics Browse Detail


Tag Link [Database_FMContainer] Category Database
Type Substitution Source Available Yes
Support Preferred Version 7.1
Change Unchanged Data Source FileMaker Pro
Output Type Bytes Security Database
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0


Returns the raw data contained in a FileMaker container field. Requires one parameter which is the name of the field.

The [Database_FMContainer] tag functions differently depending on whether FileMaker Pro or FileMaker Server Advanced data sources are being accessed.

FileMaker Pro - Only image data can be fetched from container fields. An optional -Type parameter can specify GIF or JPEG along with additional quality arguments the Web Companion supports.

FileMaker Server Advanced - Any type of data can be fetched from a container field. The tag automatically handles any data type that can be stored in FileMaker.
The [Database_FMContainer] tag always returns a byte stream. The results of this tag will be most typically sent to the current site visitor using [File_Serve].


[Inline: -Database="FileMaker", -Table="Layout", -FindAll]
[Var: 'Bytes' = (Database_FMContainer: 'Image')]

[Inline: -Database="FileMaker", -Table="Layout", -KeyValue=#, -Search]
[File_Serve: (Database_FMContainer: 'Image'), -File='FIleMaker.JPG', -Type='image/jpeg']


Required Parameters
Field Name The name of the FileMaker container field.
Optional Parameters
-Type An optional parameter that specifies the type for FileMaker Pro databases. Defaults to "JPEG".


See the Lasso 8 Language Guide for examples of how to use this tag.