Re: Does webcatalog recognise NULL values?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18440
interpreted = N
texte = >Please help. I'm currently using Webcatalog NT Version 2.1. >I need to use the [showif] command to show some code, based on the >argument of whether it has a value or not. > >Now this is not as straight forward as it sounds, because the cell can >potentially contain data in the format of text or number. > >I've tried using all sorts of commands, but doesn't seem to work because >some cells have numbers in and others have text in. > >What I need to do is to find out if webcatalog can test whether or not >the cell has a NULL value.[SHOWIF [fieldname]!]Text to display if the field is not empty[/SHOW][SHOWIF [variablename]![raw][variablename][/raw]]Text to display if the variable is not defined[/SHOW] ************************************************************* 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:

    
  1. Re: Does webcatalog recognise NULL values? (Dave MacLeay 1998)
  2. Re: Does webcatalog recognise NULL values? (Christer Olsson 1998)
  3. Does webcatalog recognise NULL values? (Richard Zammit 1998)
>Please help. I'm currently using Webcatalog NT Version 2.1. >I need to use the [showif] command to show some code, based on the >argument of whether it has a value or not. > >Now this is not as straight forward as it sounds, because the cell can >potentially contain data in the format of text or number. > >I've tried using all sorts of commands, but doesn't seem to work because >some cells have numbers in and others have text in. > >What I need to do is to find out if webcatalog can test whether or not >the cell has a NULL value.[SHOWIF [fieldname]!]Text to display if the field is not empty[/SHOW][SHOWIF [variablename]![raw][variablename][/raw]]Text to display if the variable is not defined[/SHOW] ************************************************************* 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:

WebStar 4.2 issues (2000) Area codes? (2001) Re:mac hack (1997) Bug? (1997) Help! WebCat2 bug (1997) WebCat2: Items xx to xx shown, etc. (1997) [date format] w/in sendmail (1997) [WebDNA] Installation problem (Debian 6 64bit + Lighttpd) (2011) WebCat2 several catalogs? (1997) off-topic - printinglib 68K (1997) problems with 2 tags shakur (1997) RE: [WebDNA] directory protection questions (2008) [OT] Site test... (2003) Wanted: More Math Functions (or, Can You Solve This?) (1997) RE: [WebDNA] Happy New Year! (2009) WebCat2b13MacPlugin - [math][date][/math] problem (1997) [WebDNA] [BULK] Console / WebDNA no connection to module (2011) Summing fields (1997) Writefile illegal characters ? (2004) [include ...] behavior (1997)