code within an html form
Craig McPherson
foundationdatabook at gmail.com
Mon Apr 7 17:29:58 PDT 2008
It looks like part of the problem might be that you are asking IF Yr greater
than a space....
change ?(Yr>" " tyo ?(Yr>"" might help.
and a similar thing on the end if condition is not met: change
{Name+?(Type="R","",?(Yr>""," ("+Yr+")"," "))}
to
{Name+?(Type="R","",?(Yr>""," ("+Yr+")",""))}
Those empty spaces can foul you up; I know mine do.
Craig McPherson
On Mon, Apr 7, 2008 at 4:02 PM, Pete Schuder <pschuder at bu.edu> wrote:
> Hi: I am a little rusty on Panorama code, but I thought I was getting
> this right.
>
>
>
> What I am trying to do is put parentheses around the text field "Yr" only
> if there is a year in the field. If the field is empty, then I don't want
> anything showing up on the html form. Here is what I have tried. The code
> words fine if I just put in the parenthesis statement without a condition.
>
>
>
> {Name+?(Type="R","",?(Yr>" "," ("+Yr+")"," "))}
>
>
>
> Type is text that can be T, F or R. If it is R, then there is no name
> posted. If there is a name and the year exists in the field, I want it to
> look like this:
>
> (10), so that I would have Jim Smith (10), if there is no year in the
> field, it would just have Jim Smith.
>
>
>
> Any suggestions would be appreciated.
>
>
>
> Pete Schuder
>
>
>
>
>
> _______________________________________________
> Qna mailing list
> Qna at provue.com
> http://provue.com/mailman/listinfo/qna
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://provue.com/pipermail/qna/attachments/20080407/8e898a32/attachment.html
More information about the Qna
mailing list