code within an html form
Pete
trackmanpete at comcast.net
Mon Apr 7 17:44:12 PDT 2008
Funny how 10 years ago I could sit down in a noisy room and type code no
problem. Now...
I tried the changes, but the result is that up came "operator expected, but
not found".
I checked again to make sure the Yr was a text and not a number, so that
isn't the problem. Thanks for your suggestion.
Pete
_____
From: qna-bounces at provue.com [mailto:qna-bounces at provue.com] On Behalf Of
Craig McPherson
Sent: Monday, April 07, 2008 8:30 PM
To: Panorama Questions & Answers (Discussion)
Subject: Re: code within an html form
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/0002362e/attachment.html
More information about the Qna
mailing list