Re: selectively replacing records within a [founditems]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26304
interpreted = N
texte = >> But remember, if you're not changing StaticVar1 or StaticVar2 or StaticVar3, you don't need them in the replace context -- because webcat replaces only the fields named in the replace context, and it leaves the other fields alone. > >Ken this is music to my ears!! I hope you are right. I have been painstakingly making sure every db field was assigned its value in every [replace]- whether I wanted to change it or not, replace after replace, site-wide. The reason I did that and the reason I am even doubting >your post (below) is because of this from the docs: >http://www.smithmicro.com/WebDNAReference/ReplaceContext.html- > >...Any fieldnames that do not exist in the database are ignored, and any fields you do not specify are left blank in the new record.... All I can say is Don't believe everything you read in the docs. The first part of that quote is correct, webcat ignores any fields not named in the context.Who knows WHAT they are talking about when they say ... any fields you do not specify are left blank in the new record. Maybe they are referring to unnamed fields in a new record which is created when using append=T and there is no existing matching record in the db ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: selectively replacing records within a [founditems] (PCS Technical Support 2000)
  2. Re: selectively replacing records within a [founditems] (Kenneth Grome 2000)
  3. Re: selectively replacing records within a [founditems] (John Butler 2000)
  4. Re: selectively replacing records within a [founditems] (Kenneth Grome 2000)
  5. selectively replacing records within a [founditems] (John Butler 2000)
>> But remember, if you're not changing StaticVar1 or StaticVar2 or StaticVar3, you don't need them in the replace context -- because webcat replaces only the fields named in the replace context, and it leaves the other fields alone. > >Ken this is music to my ears!! I hope you are right. I have been painstakingly making sure every db field was assigned its value in every [replace]- whether I wanted to change it or not, replace after replace, site-wide. The reason I did that and the reason I am even doubting >your post (below) is because of this from the docs: >http://www.smithmicro.com/WebDNAReference/ReplaceContext.html- > >...Any fieldnames that do not exist in the database are ignored, and any fields you do not specify are left blank in the new record.... All I can say is Don't believe everything you read in the docs. The first part of that quote is correct, webcat ignores any fields not named in the context.Who knows WHAT they are talking about when they say ... any fields you do not specify are left blank in the new record. Maybe they are referring to unnamed fields in a new record which is created when using append=T and there is no existing matching record in the db ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to 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:

authorizenet (2001) I'm having trouble using [url][interpret][math] together in lookup (1997) Bug Report, maybe (1997) textarea text truncated by browser (2000) The & Problem (1998) Form Weirdness (2002) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) SMI or WebDNA Vets. please read (2004) Documentation Feedback (1997) E-mail formating question (1999) Special characters & [sendmail] (1998) More than 2 sort specs? (2003) Handy Browser Counter Tip (1997) Country & Ship-to address & other fields ? (1997) ShippingCosts (1998) PCS Frames (1997) Dummy Credit Card Number for debug? (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) [WebDNA] WebDNA as cgi app (was WebSite Examples) (2008) Bug Report, maybe (1997)