RE: [REPLACE] inside [FOUNDITEMS]
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19174
interpreted = N
texte = Hi Michael,Just a quickie, have you tried it without the rq ([REPLACEdb=my.db&eqSKUdata=666]INV=100[/REPLACE])?Aloha, Olin> -----Original Message-----> From: Michael Winston [mailto:michaelw@dhorse.com]> Sent: Wednesday, July 29, 1998 9:35 AM> To: WebDNA-Talk@smithmicro.com> Subject: [REPLACE] inside [FOUNDITEMS]>>> 2.1.6 through 3.0b4, MAC PI>> I discovered something today and I'm not sure if it's a bug or a feature:>> Let's say I have a record with SKU=666 and INV=30,>> [SEARCH db=my.db&eqSKUdatarq=666]> [FOUNDITEMS]> [INV]
> [REPLACE db=my.db&eqSKUdatarq=666]INV=100[/REPLACE]> [INV]> [/FOUNDITEMS]> [/SEARCH]>> returns:> 30> 100>> I expected:> 30> 30>> I never expected that the [REPLACE] would change my [FOUNDITEMS] results.> I thought it would replace the value in the database but leave> the returned> values of my [SEARCH] untouched. This could (and has) caused quite a few> logic errors in some scripts.>> Has this been going on for long?>> Michael>> Michael Winston *By e-mail!: michaelw@dhorse.com> Internet Coordinator *By web!: http://www.dhorse.com/> Dark Horse Comics, Inc. *By fax!: 503/654/9440>>>
Associated Messages, from the most recent to the oldest:
Hi Michael,Just a quickie, have you tried it without the rq ([REPLACEdb=my.db&eqSKUdata=666]INV=100[/REPLACE])?Aloha, Olin> -----Original Message-----> From: Michael Winston [mailto:michaelw@dhorse.com]> Sent: Wednesday, July 29, 1998 9:35 AM> To: WebDNA-Talk@smithmicro.com> Subject:
[replace] inside
[founditems]>>> 2.1.6 through 3.0b4, MAC PI>> I discovered something today and I'm not sure if it's a bug or a feature:>> Let's say I have a record with SKU=666 and INV=30,>> [SEARCH db=my.db&eqSKUdatarq=666]>
[founditems]> [INV]
> [REPLACE db=my.db&eqSKUdatarq=666]INV=100[/REPLACE]> [INV]> [/FOUNDITEMS]> [/SEARCH]>> returns:> 30> 100>> I expected:> 30> 30>> I never expected that the [replace] would change my [founditems] results.> I thought it would replace the value in the database but leave> the returned> values of my [search] untouched. This could (and has) caused quite a few> logic errors in some scripts.>> Has this been going on for long?>> Michael>> Michael Winston *By e-mail!: michaelw@dhorse.com> Internet Coordinator *By web!: http://www.dhorse.com/> Dark Horse Comics, Inc. *By fax!: 503/654/9440>>>
Olin
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:
WebCat2.0 [format thousands .0f] no go (1997)
The Guru Speaks (1998)
Warning: Mac OS X 10.2.4 Update Overwrites Apache's (2003)
many-to-one problem (1998)
Exists? (1997)
problem with waitForFile? (1998)
weird convertchars behavior (2000)
WebStar 4.2 issues (2000)
emailer (1997)
Re1000001: Setting up shop (1997)
Review comparison by PC Magazine: Open for On-line Business (1997)
WebCat2.0 acgi vs plugin (1997)
Setting up WebCatalog with Retail Pro data (1996)
Max Record length restated as maybe bug (1997)
RE: OK, here goes... (1997)
Problems getting parameters passed into email. (1997)
Next X hits (1996)
Hairy Shipping Monster (2006)
Calculating multiple shipping... (1997)
UPS Quick Cost Calculator (1997)