Re: [carts] and databases

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11891
interpreted = N
texte = >>When we tried to delete these >>records both with the same name it hung webcat. > >This bothers me, because obviously there should be nothing that hangs >WebCatalog. Are you sure that it was just the fact that 2 records had the >same id? You're supposed to be able to delete hundreds of records at once >by creating a search criteria in the [delete] that blows away any matching >records, so I fully expect your situation to work correctly no matter how >many identical records were found. > >>So can I just make the field where the [cart] value will go and just fill >>each recored like 1,2,3,4,5,6 and so forth for these 225 some odd records >>and then any new records will get the [cart] value? > We didn't use a search on another field other then the sku number we put in. See the second snip where it talks about BOTH records on the screen at once. I never expected this problem and the person doing the work never bother to ask, Hey there are 2 records on the delete search function and I want to delete them before Gary finds out I screwed up. Record 1 sku=10-30 name=Jones addr=12345 Main st anywhere usa Record 2 sku=10-30 name=Jones addr=12345 Main st anywhere usaperson put in I want to delete Jonesin the following snip

Find a Rep: Enter Data Base Record Number You Want to Delete


they got a search that they use to verify this is who they want to delete and BOTH records appearedFound [numFound] items matching your search <--The numfound was 2>[foundItems]

[sku][firm] [contact] [addr1] [addr2] [phnum] [em] [hmpage] [rtype]
Rep Code:
Firm Name:
Contact:
Address1:
Address2:
Phone:
Fax:[faxnum]
E-Mail:
Home Page:
Type:


Cl ick here if this is the Record you want to Delete
then they entered clicked on the hyperlink and got[delete db=/webcatalog/rep.db&eqskudata=[sku]]and she hung-up.Now the sku in this example was a 4 digit number we created, but they created two identical records with the same sku value and the sku value has nothing to do with [carts], it was put in by them. So I had 2 records named 01-30. But if I would have created this data base like I created most since then using the [cart] value to control the record the problem is mute. In my opinion it is not a problem of webcat. I is a problem here of some sloppy coding in the learning curve. I just want to avoid it happening again. That is why I wanted to rework the database tomarrow and force in somevalue into a field name uniqueID and just number the records 1 to 225 and then let [cart] take over. Or have I confused everybody more?=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Associated Messages, from the most recent to the oldest:

    
  1. Re: [carts] and databases (grichter@panavise.com (Gary Richter) 1997)
  2. Re: [carts] and databases (Grant Hulbert 1997)
  3. [carts] and databases (grichter@panavise.com (Gary Richter) 1997)
>>When we tried to delete these >>records both with the same name it hung webcat. > >This bothers me, because obviously there should be nothing that hangs >WebCatalog. Are you sure that it was just the fact that 2 records had the >same id? You're supposed to be able to delete hundreds of records at once >by creating a search criteria in the [delete] that blows away any matching >records, so I fully expect your situation to work correctly no matter how >many identical records were found. > >>So can I just make the field where the [cart] value will go and just fill >>each recored like 1,2,3,4,5,6 and so forth for these 225 some odd records >>and then any new records will get the [cart] value? > We didn't use a search on another field other then the sku number we put in. See the second snip where it talks about BOTH records on the screen at once. I never expected this problem and the person doing the work never bother to ask, Hey there are 2 records on the delete search function and I want to delete them before Gary finds out I screwed up. Record 1 sku=10-30 name=Jones addr=12345 Main st anywhere usa Record 2 sku=10-30 name=Jones addr=12345 Main st anywhere usaperson put in I want to delete Jonesin the following snip

Find a Rep: Enter Data Base Record Number You Want to Delete


they got a search that they use to verify this is who they want to delete and BOTH records appearedFound [numFound] items matching your search <--The numfound was 2>[founditems]

[sku][firm] [contact] [addr1] [addr2] [phnum] [em] [hmpage] [rtype]
Rep Code:
Firm Name:
Contact:
Address1:
Address2:
Phone:
Fax:[faxnum]
E-Mail:
Home Page:
Type:


Cl ick here if this is the Record you want to Delete
then they entered clicked on the hyperlink and got[delete db=/webcatalog/rep.db&eqskudata=[sku]]and she hung-up.Now the sku in this example was a 4 digit number we created, but they created two identical records with the same sku value and the sku value has nothing to do with [carts], it was put in by them. So I had 2 records named 01-30. But if I would have created this data base like I created most since then using the [cart] value to control the record the problem is mute. In my opinion it is not a problem of webcat. I is a problem here of some sloppy coding in the learning curve. I just want to avoid it happening again. That is why I wanted to rework the database tomarrow and force in somevalue into a field name uniqueID and just number the records 1 to 225 and then let [cart] take over. Or have I confused everybody more?=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== grichter@panavise.com (Gary Richter)

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:

Multiple Ad databases? (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) PIXO Support (1997) emailer (1997) Setting up WebCatalog with Retail Pro data (1996) foreign languages, email, webcat (1998) Web requests in que... (2007) IIS4b2 and WebCatalog b19 (1997) Emailer problems. (1998) change the number format (1997) Help!!!! (1997) RE: Formulas.db + Users.db (1997) Customizing WebDelivery.html (1998) zzounds.com. Was: ANN: Strategic Partnership with BuyStream Announced. (2000) serial number dishing (1997) pdf files? (2001) Extended [ConvertChars] (1997) bug in [SendMail] (1997) Unique SKUs (2000) WebCatalog can't find database (1997)