[TOC] [Prev] [Next] [Bottom]



<@INCLUDE>

Syntax

<@INCLUDE FILE=file>

Description

Returns the contents of the specified file. The file may contain meta tags, which are processed normally. The FILE attribute is a slash-separated path from the Web server root. The FILE attribute may include literal text, meta tags, or both.

If Tango cannot find the referenced file, the meta tag returns an empty value. This meta tag may be used in Results, No Results and Error HTML, Direct DBMS SQL, variable assignment values, External action attributes, and in database action insert, update, and criteria value fields.

Examples

<@INCLUDE FILE="/Footers/my_footer.html">

This example includes the my_footer.html file residing in the Footers directory in the Tango application file root directory.

<@INCLUDE FILE="<@APPFILEPATH>my_footer.html">

This example includes the my_footer.html file residing in the same directory as the currently executing application file.

<@INCLUDE FILE="<@COLUMN NAME='invoice.filename'>">

This example includes the contents of the file specified in the filename column in the invoice table.



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.