Re: Exists?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15520
interpreted = N
texte = Pat McCormick wrote: > > bob wrote: > > > > Is there a WebDNA command, to test if a value exists in a field. I want > > to show a field, if a value exists in that field. I don't want to have a > > seperate field to test this. > > > > Robert Minor > > ______________________________________ > > Cybermill Communications > > 8616 Joseph Ave. > > St. Louis, MO 63144 > > (314) 962-4024 > > > > webmaster@cybermill.com > > http://www.cybermill.com > > ______________________________________ > > PGP key available upon request. > > If you're verifying that the field isn't blank, try > > [showif [somefield]!]somefield is blank[/showif]Wow, I have to correct my own post:it should be [showif [somefield]!]somefield is NOT blank[/showif] > If you're confirming the presence of a specific value (string), try > > [showif [somefield]^string]somefield contains 'string'[/showif] Associated Messages, from the most recent to the oldest:

    
  1. Re: Checking whether remote image exists? ( eLists 2004)
  2. Checking whether remote image exists? ( Mark Derrick 2004)
  3. Re: Exists? (Pat McCormick 1997)
  4. Re: Exists? (Kenneth Grome 1997)
  5. Re: Exists? (Pat McCormick 1997)
  6. Re: Exists? (Kenneth Grome 1997)
  7. Re: Exists? (bob 1997)
  8. Re: Exists? (Paul Uttermohlen 1997)
  9. Exists? (bob 1997)
  10. Re: [math] show=F exists? (Michael Winston 1997)
  11. Re: [math] show=F exists? (Grant Hulbert 1997)
  12. [math] show=F exists? (Nelson Chen 1997)
Pat McCormick wrote: > > bob wrote: > > > > Is there a WebDNA command, to test if a value exists in a field. I want > > to show a field, if a value exists in that field. I don't want to have a > > seperate field to test this. > > > > Robert Minor > > ______________________________________ > > Cybermill Communications > > 8616 Joseph Ave. > > St. Louis, MO 63144 > > (314) 962-4024 > > > > webmaster@cybermill.com > > http://www.cybermill.com > > ______________________________________ > > PGP key available upon request. > > If you're verifying that the field isn't blank, try > > [showif [somefield]!]somefield is blank[/showif]Wow, I have to correct my own post:it should be [showif [somefield]!]somefield is NOT blank[/showif] > If you're confirming the presence of a specific value (string), try > > [showif [somefield]^string]somefield contains 'string'[/showif] Pat McCormick

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:

Database Sizes (2000) MATH TIME (1997) Ok here is a question? (1997) [WebDNA] WA,WO or how to find products with multiple selects .... (2018) Can I determine where they are coming from? (2000) First postarg not taking in $Commands (1997) Banners and sort of random display (1997) [searchString] (1997) getchars broken? (1997) Problems appending to database (1997) process SSI (1998) customer.db and forms (1999) Smart caching problems with 2.1b3? (1997) [HIDEIF] inside [FOUNDITEM] (1997) [WebDNA] Error 500 with SUMM=T (2017) append=T problem (1998) Not really WebCat (1997) [WebDNA] Search using CL (2017) Re:Multiple SSL Keys (1998) WebCat2: Items xx to xx shown, etc. (1997)