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:

Modifying order output (1997) Creditcard verification with WebCat (1998) [click][/click] (1999) Searching for OSX/Webstar installer for WebCat (2002) Bug? (1997) Still having problems with Authen (1997) Nested tags count question (1997) forming a SKU (1999) Not really WebCat (1997) politeness (was searches with dash...) Please Read (2000) webmerchant 3.0 questions (1999) SMSI -- a [notfound] context? (2002) [WebDNA] Convertchars Weirdness (2014) [WriteFile] problems (1997) PROBLEM (1997) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) Pithy questions on webcommerce & siteedit (1997) Word wrapping (1997) 2.1 Stuff (1998) Stinkin' [Referrer] (1998)