Bookshelf Home | Contents | Index | PDF |
Siebel Pharma Handheld Guide > Print Tagging Language > Data Manipulation and Logic Tags > Variable Parameter TagsMost parameters support variables. For example, a user can store a field value and use the field value as one of the parameters in a subsequent tag. Combining this feature with the Concat and Conditional tags and the SQL (WHERE) tag, you can construct complex query statements and print out the results. Example 1After the following tag sequence, var_equal contains "\"Status\"='Defective'": <TAG:SETVARIABLE variable="var_equal" name="="> <TAG:SETVARIABLE variable="var_fieldname" name="\"Status\""> <TAG:SETVARIABLE variable="var_criteria" name="'Good'"> <TAG:CONCAT variable="var_equal" prepend="<variable>var_fieldname" append= "<variable>var_criteria"> NOTE: To include double quotes in a parameter, include a backslash before them. Example 2The following example includes a variable in the header tag: <TAG:HEADER left="<page>" center="<variable>numrows" right="<date>"> |
Siebel Pharma Handheld Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |