Re: Problems deleting when a search field is blank...

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19057
interpreted = N
texte = >The primary problem... >When I use the bit of code below, it looks like I've got it set to do >this the right way, but since WebCatalog ignores blank fields, if I pass a >blank field to the search OR delete context it ends up trying to delete BOTH >of these records. How do I get around this? There is no completely unique >value for any of the records in this database.There should ALWAYS be a field with a unique value in it for each record ... and if you use [cart] to create this unique value in the append context, you will never have to worry about getting a duplicate in this field, because each time [cart] creates a value, it's a unique value ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems deleting when a search field is blank... (Kenneth Grome 1998)
  2. Re: Problems deleting when a search field is blank... (Peter Ostry 1998)
  3. Problems deleting when a search field is blank... (Dan Keldsen 1998)
>The primary problem... >When I use the bit of code below, it looks like I've got it set to do >this the right way, but since WebCatalog ignores blank fields, if I pass a >blank field to the search OR delete context it ends up trying to delete BOTH >of these records. How do I get around this? There is no completely unique >value for any of the records in this database.There should ALWAYS be a field with a unique value in it for each record ... and if you use [cart] to create this unique value in the append context, you will never have to worry about getting a duplicate in this field, because each time [cart] creates a value, it's a unique value ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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: server change went wrong! (2006) WebCat2b13MacPlugIn - more [date] problems (1997) Execute Applescript (1997) webcat- multiple selection in input field (1997) Hiding HTML and page breaks (1997) Re(2): text area input and convertchars (2002) OK, here goes... (1997) MacActivity and PCS (1997) Banner DNA (1997) WC 2.0 frames feature (1997) RAW=T..Strange behaviour (2000) Real Audio files (1997) Hiding a subsection of text (2002) Scientific Notation Problem (2001) WebStar WebCat Crashing a lot (2004) WebStar5 and realm authentication (2003) New Installation (1998) WebCat2b15MacPlugin - [protect] (1997) Kaaaaahhhhhhhnnnnnnn! (1997) [WebDNA] "commerce tags" versus "shopping" tags? (specifically what is the Partner Edition?) (2009)