code within an html form
David Thompson
dthmpsn1 at uiuc.edu
Tue Apr 8 07:00:58 PDT 2008
>-For those that don't know what you are doing as
>-intimately as I do, the term "html form" in this
>-case refers to a Panorama form designed to be
>-used with a SaveAsText command. The text it
>-generates is html. Formulas are in auto wrap text
>-objects, so they must be enclosed in {braces}.
>-
<snip>
> I would think this would be the same if I
>were to generate a report, right? Or is there no need for the braces in a
>report?
The braces are needed if the formula is in an auto wrap text object.
On a form designed for use with SaveAsText, each of the tiles is
required to have exactly one auto wrap text object, and no other
objects. In a report, auto wrap text objects are not required, and
you can use all sorts of other objects.
If your formula were in a Text Display or Word Processing SuperObject
for example, the formula would not be enclosed in braces. It's only
in an auto wrap text object that braces mean that their contents
should be interpreted as a formula. In virtually every other context
in Panorama, they are a way of quoting text. Their presence means
that the text between them should be interpreted as literal text and
*not* as a formula. So braces have essentially opposite meanings,
depending on whether they are in an auto wrap text object or not.
Dave
More information about the Qna
mailing list