[WebDNA] [raw] tag with [interpret] question

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105729
interpreted = N
texte = --0016361e7f08f8e990048ee0d821 Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, This may be a simple fix, but I haven't been able to come up with a solution. Anyone know the answer? I've created a variable: [text]_Alpha=[interpret][_ Alpha_[index]][/interpret][/text] which is within a loop: [loop start=1&end=3] both of the above follow a search: [search db=mydatabase.db&eqClientIDdatarq=[_ClientID]&neAlphadatarq=[blank]&neDate_Addeddatarq=[blank]&Alphasumm=T&deDate_Addedsort=1&max=3] [text]AddedResourcesFound=[numfound][/text] [founditems] [text]_ManSerialNum_[index]=[ManSerialNumber][/text] [text]_Alpha_[index]=[Alpha][/text] [/founditems] [/search] In the case I'm trying to solve, [numfound]=1. I want to hide a section of my code if the interpreted variable is raw (i.e. [_Alpha_2] or [_Alpha_3]). I've tried the following: [hideif [_Alpha]=[interpret][_Alpha_[index]][/interpret]]CODE[/hideif] [hideif [_Alpha]=[raw][interpret][_Alpha_[index]][/interpret][/raw]]CODE[/hideif] [hideif [_Alpha]=[interpret][raw][_Alpha_[index]][/raw][/interpret]]CODE[/hideif] [hideif [_Alpha]=[raw][_Alpha_[index]][/raw]]CODE[/hideif] but none of them work. I haven't done much coding with [interpret] tags. Is there some other way to hide this code? Thanks, Suzanne --0016361e7f08f8e990048ee0d821 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone,

This may be a simple fix, but I haven't been able t= o come up with a solution.=A0 Anyone know the answer?

I've creat= ed a variable:
[text]_Alpha=3D[interpret][_
Alpha_[index= ]][/interpret][/text]

which is within a loop:
[loop start=3D1&end=3D3]

both of= the above follow a search:

=A0=A0=A0 [search db=3Dmydatabase.db&= ;eqClientIDdatarq=3D[_ClientID]&neAlphadatarq=3D[blank]&neDate_Adde= ddatarq=3D[blank]&Alphasumm=3DT&deDate_Addedsort=3D1&max=3D3] =A0=A0=A0 [text]AddedResourcesFound=3D[numfound][/text]
=A0=A0=A0 =A0= =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0
=A0=A0=A0 =A0= =A0=A0 [founditems]=A0=A0=A0 =A0=A0=A0
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 [t= ext]_ManSerialNum_[index]=3D[ManSerialNumber][/text]
=A0=A0=A0 =A0=A0=A0= =A0=A0=A0 [text]_Alpha_[index]=3D[Alpha][/text]
=A0=A0=A0 =A0=A0=A0 [/founditems]
=A0=A0=A0 [/search]


In the = case I'm trying to solve, [numfound]=3D1.


I want to hide a s= ection of my code if the interpreted variable is raw (i.e. [_Alpha_2] or [_= Alpha_3]).=A0

I've tried the following:
=A0[hideif [_Alpha]=3D[interpret][_Alp= ha_[index]][/interpret]]CODE[/hideif]
=A0[hideif [_Alpha]=3D[raw][interp= ret][_Alpha_[index]][/interpret][/raw]]CODE[/hideif]
=A0 [hideif [_Alpha]=3D[interpret][raw][_Alpha_[index]][/raw][/interpret]]CODE[= /hideif]
=A0 [hideif [_Alpha]=3D[raw][_Alpha_[index]][/raw]]CODE[/hideif]

but none of them work.=A0 I haven't done much coding with [interpre= t] tags.=A0 Is there some other way to hide this code?

Thanks,
Suzanne

--0016361e7f08f8e990048ee0d821-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [raw] tag with [interpret] question (Kenneth Grome 2010)
  2. Re: [WebDNA] [raw] tag with [interpret] question (William DeVaul 2010)
  3. Re: [WebDNA] [raw] tag with [interpret] question (Govinda 2010)
  4. Re: [WebDNA] [raw] tag with [interpret] question (William DeVaul 2010)
  5. Re: [WebDNA] [raw] tag with [interpret] question (Suzanne Swift 2010)
  6. Re: [WebDNA] [raw] tag with [interpret] question (Kenneth Grome 2010)
  7. Re: [WebDNA] [raw] tag with [interpret] question (Govinda 2010)
  8. Re: [WebDNA] [raw] tag with [interpret] question (William DeVaul 2010)
  9. [WebDNA] [raw] tag with [interpret] question (Suzanne Swift 2010)
--0016361e7f08f8e990048ee0d821 Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, This may be a simple fix, but I haven't been able to come up with a solution. Anyone know the answer? I've created a variable: [text]_Alpha=[interpret][_ Alpha_[index]][/interpret][/text] which is within a loop: [loop start=1&end=3] both of the above follow a search: [search db=mydatabase.db&eqClientIDdatarq=[_ClientID]&neAlphadatarq=[blank]&neDate_Addeddatarq=[blank]&Alphasumm=T&deDate_Addedsort=1&max=3] [text]AddedResourcesFound=[numfound][/text] [founditems] [text]_ManSerialNum_[index]=[ManSerialNumber][/text] [text]_Alpha_[index]=[Alpha][/text] [/founditems] [/search] In the case I'm trying to solve, [numfound]=1. I want to hide a section of my code if the interpreted variable is raw (i.e. [_Alpha_2] or [_Alpha_3]). I've tried the following: [hideif [_Alpha]=[interpret][_Alpha_[index]][/interpret]]CODE[/hideif] [hideif [_Alpha]=[raw][interpret][_Alpha_[index]][/interpret][/raw]]CODE[/hideif] [hideif [_Alpha]=[interpret][raw][_Alpha_[index]][/raw][/interpret]]CODE[/hideif] [hideif [_Alpha]=[raw][_Alpha_[index]][/raw]]CODE[/hideif] but none of them work. I haven't done much coding with [interpret] tags. Is there some other way to hide this code? Thanks, Suzanne --0016361e7f08f8e990048ee0d821 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone,

This may be a simple fix, but I haven't been able t= o come up with a solution.=A0 Anyone know the answer?

I've creat= ed a variable:
[text]_Alpha=3D[interpret][_
Alpha_[index= ]][/interpret][/text]

which is within a loop:
[loop start=3D1&end=3D3]

both of= the above follow a search:

=A0=A0=A0 [search db=3Dmydatabase.db&= ;eqClientIDdatarq=3D[_ClientID]&neAlphadatarq=3D[blank]&neDate_Adde= ddatarq=3D[blank]&Alphasumm=3DT&deDate_Addedsort=3D1&max=3D3] =A0=A0=A0 [text]AddedResourcesFound=3D[numfound][/text]
=A0=A0=A0 =A0= =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0
=A0=A0=A0 =A0= =A0=A0 [founditems]=A0=A0=A0 =A0=A0=A0
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 [t= ext]_ManSerialNum_[index]=3D[ManSerialNumber][/text]
=A0=A0=A0 =A0=A0=A0= =A0=A0=A0 [text]_Alpha_[index]=3D[Alpha][/text]
=A0=A0=A0 =A0=A0=A0 [/founditems]
=A0=A0=A0 [/search]


In the = case I'm trying to solve, [numfound]=3D1.


I want to hide a s= ection of my code if the interpreted variable is raw (i.e. [_Alpha_2] or [_= Alpha_3]).=A0

I've tried the following:
=A0[hideif [_Alpha]=3D[interpret][_Alp= ha_[index]][/interpret]]CODE[/hideif]
=A0[hideif [_Alpha]=3D[raw][interp= ret][_Alpha_[index]][/interpret][/raw]]CODE[/hideif]
=A0 [hideif [_Alpha]=3D[interpret][raw][_Alpha_[index]][/raw][/interpret]]CODE[= /hideif]
=A0 [hideif [_Alpha]=3D[raw][_Alpha_[index]][/raw]]CODE[/hideif]

but none of them work.=A0 I haven't done much coding with [interpre= t] tags.=A0 Is there some other way to hide this code?

Thanks,
Suzanne

--0016361e7f08f8e990048ee0d821-- Suzanne Swift

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:

[WebDNA] WebDNA vs. php war ;-) (2010) Proper file locations (1997) Re:E-mailer application times out (1998) [accountNum] and [math] (1997) tcpconnect/tcpsend frustrations (2002) Merging databases (1997) WebCat2 - [format thousands] (1997) insecure client not shown (1998) I give up!! (1997) [WebDNA] WebDNA vs. php war ;-) (2010) What am I missing (1997) MY SOLUTION.... Send massmail (2000) WebDNA Solutions ... sorry! (1997) WebDNA with WebStar V (2003) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) WC2.0 Memory Requirements (1997) Re:WebDNA Writer Needed (1997) WebCommerce: Folder organization ? (1997) Help! WebCat2 bug (1997) For those of you not on the WebCatalog Beta... (1997)