Re:Hideif / Showif
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18883
interpreted = N
texte = [Blank] works only in a [search] context/command.try[SHOWIF [fieldname]!]This will show when the field is not empty[/SHOWIF]>The following is getting to me - can anybody suggest a solution?>>I am trying to show a space so as the table looks even and formated.>>These do not work>[FoundItems]>>
[Hideif>[DescriptBlnk]=T][Capitalize][Descript][/Capitalize][/Hideif][Showif>>[DescriptBlnk]=T] [/Showif] | -- (Will show non-blanks)>>
[Hideif>[Descript]=[Blank]][Capitalize][Descript][/Capitalize][/Hideif][Showif>>[Descript]=[Blank]] [/Showif] | -- (Will show non-blanks)>>
[Hideif>[eqDescript]=[Blank]][Capitalize][Descript][/Capitalize][/Hideif][Showif>>[eqDescript]=[Blank]] [/Showif] | --- (I reckon this is>incorrect anyway)>>[Hideif [Add2Blnk]=T] [Add2]
[/Hideif]>(This is another that leaves a blank line even if [Add2] is Blank)>>>>This does work>>
[Showif [price]>0]IR£[format thousands>10.0f][price][/format][/Showif][Hideif [Price]>0] [/Hideif] | >>[/FoundItems]>>Is there any reference in the Manual - I can't find it, exceptin the WebCat>Command Reference File? ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Associated Messages, from the most recent to the oldest:
[Blank] works only in a
[search] context/command.try[SHOWIF [fieldname]!]This will show when the field is not empty[/SHOWIF]>The following is getting to me - can anybody suggest a solution?>>I am trying to show a space so as the table looks even and formated.>>These do not work>
[founditems]>>
[Hideif>[DescriptBlnk]=T][capitalize][Descript][/Capitalize][/Hideif][Showif>>[DescriptBlnk]=T] [/Showif] | -- (Will show non-blanks)>>
[Hideif>[Descript]=[Blank]][capitalize][Descript][/Capitalize][/Hideif][Showif>>[Descript]=[Blank]] [/Showif] | -- (Will show non-blanks)>>
[Hideif>[eqDescript]=[Blank]][capitalize][Descript][/Capitalize][/Hideif][Showif>>[eqDescript]=[Blank]] [/Showif] | --- (I reckon this is>incorrect anyway)>>[Hideif [Add2Blnk]=T] [Add2]
[/Hideif]>(This is another that leaves a blank line even if [Add2] is Blank)>>>>This does work>>
[Showif [price]>0]IR£[format thousands>10.0f][price][/format][/Showif][Hideif [Price]>0] [/Hideif] | >>[/FoundItems]>>Is there any reference in the Manual - I can't find it, exceptin the WebCat>Command Reference File? ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Christer Olsson
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:
Bug? (2000)
webcat serving up 2+ versions of the same db? (2000)
Globals folder... (2003)
Advice needed. (1998)
template includes encrypted template (1999)
SSI *nix 4.5 build (2002)
F*** you (1998)
Limiting user access to .tmpl files (1997)
(1997)
carriage returns in data (1997)
WebCommerce: Folder organization ? (1997)
Many $WebCat.exe processes (1998)
cart (1997)
[searchString] (1997)
Extended [ConvertChars] (1997)
Database access (2003)
Grep and Special Characters (2002)
Before I Can Begin . . . (1998)
Sku numbers (1997)
NT - Thanks and Taxes (1997)