<@DSTYPE>
Syntax
<@DSTYPE [ENCODING=encoding]>
Description
Returns the type of data source associated
with the current action. If the current action has no data source
associated with it, this tag returns the information for the most
recent data source used during the current execution of the
application file. If used prior to the execution of a database related
action, this tag returns an empty string.
Descriptions of values returned by this
meta tag are shown in the following table.
Value Returned |
Platform(s) |
Indicates |
DAM |
Mac OS |
Data Access Manager |
FileMaker |
Mac OS |
FileMaker Pro |
ODBC |
All |
ODBC |
Oracle |
All (Tango 2.1 or greater) |
Native Oracle |
Example
<@IFEQUAL VALUE1="<@DSTYPE>"
VALUE2="ODBC">
display data from an ODBC data source
<@ELSE>
display data from a different data source type
</@IF>
This example customizes the HTML returned
depending on the data source type.
See Also
<@DBMS>
Encoding Attribute
|