Re: embedded showif statements
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34562
interpreted = N
texte = actually there are 2 issues.1. the first showif is not closed with a [/showif]2. you can not do a >= comparison.>I am having a problem trying to enclose showif statements inside one another>and I am getting a result similiar to if the [showif] was not closing right>(a blank page). The attempt here is to split up California by zip codes.>The code fragment is below. Please help. Thanks.>>[showif [state]=CA]> [showif [zip]<93900]> yada,yada,yada> [/showif]>> [showif [zip]>=93900]> yada,yada,yada> [showif]>[/showif]>>Here is also an example of one of my yada's:>>[lookup db=/db/employee.db&value=[lookup>db=/db/territory.db&value=7&lookinfield=terr_num&returnfield=sales_rep]&look>infield=employee_id&returnfield=employee_fname]>>>>Matthew Levy>IT/Network Specialist>AEC Software, Inc.>(e) mlevy@aecsoft.com>(w) 703.450.1980 x3037>(f) 703.450.9786>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list
.>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
actually there are 2 issues.1. the first showif is not closed with a [/showif]2. you can not do a >= comparison.>I am having a problem trying to enclose showif statements inside one another>and I am getting a result similiar to if the [showif] was not closing right>(a blank page). The attempt here is to split up California by zip codes.>The code fragment is below. Please help. Thanks.>>[showif [state]=CA]> [showif [zip]<93900]> yada,yada,yada> [/showif]>> [showif [zip]>=93900]> yada,yada,yada> [showif]>[/showif]>>Here is also an example of one of my yada's:>>[lookup db=/db/employee.db&value=[lookup>db=/db/territory.db&value=7&lookinfield=terr_num&returnfield=sales_rep]&look>infield=employee_id&returnfield=employee_fname]>>>>Matthew Levy>IT/Network Specialist>AEC Software, Inc.>(e) mlevy@aecsoft.com>(w) 703.450.1980 x3037>(f) 703.450.9786>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Charles Kline
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Help! (1999)
Deleting Orders (1997)
Hidden or Forbidden? (1998)
Searching Groups for multiple matches (1998)
can WC render sites out? (1997)
sort problems....bug or brain fart? (1997)
How do I pass [cart] when user clicks back (2000)
Security Issue (1997)
Server capacity (2003)
Ongoing group search problems ... (1997)
READFILE command? (1998)
Pgp&emailer (1997)
Emailer errors (1997)
date sorting and 'template (1997)
Banner DNA (1997)
[movefile] (1999)
WebCat for Site Search? (1997)
OT: Jobseekers beware... (2003)
Interfacing WebMerchant to www.fedex.com (1997)
Emailer setup (1997)