Lasso Soft Inc. > Home

[Database_FMContainer]

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].

  • Syntax
  • Parameters
[Inline: -Database="FileMaker", -Table="Layout", -FindAll]
[Records]
[Var: 'Bytes' = (Database_FMContainer: 'Image')]
...
[/Records]
[/Inline]

[Inline: -Database="FileMaker", -Table="Layout", -KeyValue=#, -Search]
[File_Serve: (Database_FMContainer: 'Image'), -File='FIleMaker.JPG', -Type='image/jpeg']
[/Inline]
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".
Examples

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

Tag Link [Database_FMContainer] Category Database
Type Substitution Data Source FMP
Support Preferred Version 7.1
Output Type Bytes Security Database
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft