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:

Re1000001: Setting up shop (1997) [WebDNA] Emails coming in the wrong order again (2010) (1997) mac hack (1997) WebCatalog and WebMerchant reviewed by InfoWorld (1997) Emailer error 571 (1998) Triggers-Deadlock (2000) Grepping text variable tags (was: No subject given) (2000) virtual virtual hosted store.... (1998) Running 2 two WebCatalog.acgi's (1996) One Hour Email (2002) Country & Ship-to address & other fields ? (1997) Error Type 3 (1999) Inventory Control (2000) How do I send a 404 HTTP header ? (2004) More Applescript (1997) emailer (1997) forming a SKU (1999) WC2.0 Memory Requirements (1997) 2.0 Info (1997)