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:

Help name our technology! (1997) Problem: 3.0 doesn't update carts (1997) WCS Newbie question (1997) Sendmail and SMTP AUTH (2005) Changing the value assigned to a formvariable (2000) Setting up shop (1997) I assume it is a safe bet this does not help (1998) RE: Questions To Answer (1997) Email problem.. (2004) Paths, relative paths, webstar server setup and security (1997) Adding multiple items to a DB from a search. (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) [WebDNA] rules for naming [math] and [text] vars (2008) t or f (1997) Freeze (2003) Large sites (2003) Nested tags count question (1997) ShowNext for method=POST (1997) Emailer setup (1997) Progress !! WAS: Trouble with formula.db (1997)