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 Consultant808-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:
>> 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 Consultant808-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:
[WebDNA] Quick Grep question (2009)
UPDATE PROBLEM (1997)
HTML Editors (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Error (1997)
Unexpected error (1997)
More than one db with the same namn (was: WC2f3) (1997)
Initiating NewCart (1997)
Bug alert! (1997)
Practice runs ? (1997)
can WC render sites out? (1997)
Multiple prices (1997)
Need help with emailer- 2 issues (1997)
[WebDNA] AutoFill Drop Down Menu (2009)
Moment of Thanks (1997)
WebDNA on Intel Mac (2006)
a new bug? (1999)
Pithy questions on webcommerce & siteedit (1997)
WC2b15 File Corruption (1997)
orders being printed (1998)