Re: REPLACE & MAX/STARTAT parameters doesn't work?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36384
interpreted = N
texte = Can you include a STARTAT=2 parameter to only change the second item in theDB?Pete----- Original Message -----From: Michael Winston
To: WebCatalog Talk Sent: Monday, August 21, 2000 3:51 PMSubject: Re: REPLACE & MAX/STARTAT parameters doesn't work?> At 3:22 PM 8/21/00, John Hill wrote:> >Someone at Smith Micro can correct me if I'm wrong, but since the> >[replace] context does not use a [founditems]-like loop, the startat> >and max parameters have no meaning. They are only useful if you are> >looping through the found items. I hope this helps.>> The max= parameter works fine for me in a [replace] as far back as> 3.05 (at least).>> Sample.db (before)>> sku name> 1 hello> 1 hello>> [REPLACE db=sample.db&eqSKUdatarq=1&max=1]name=bye[/REPLACE]>> Sample.db (after)>> sku name> 1 bye> 1 hello>>> Michael>> -------------------------------------------------------------> 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> Web Archive of this list is at: http://search.smithmicro.com/>-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Can you include a STARTAT=2 parameter to only change the second item in theDB?Pete----- Original Message -----From: Michael Winston To: WebCatalog Talk Sent: Monday, August 21, 2000 3:51 PMSubject: Re: REPLACE & MAX/STARTAT parameters doesn't work?> At 3:22 PM 8/21/00, John Hill wrote:> >Someone at Smith Micro can correct me if I'm wrong, but since the> >[replace] context does not use a [founditems]-like loop, the startat> >and max parameters have no meaning. They are only useful if you are> >looping through the found items. I hope this helps.>> The max= parameter works fine for me in a [replace] as far back as> 3.05 (at least).>> Sample.db (before)>> sku name> 1 hello> 1 hello>> [REPLACE db=sample.db&eqSKUdatarq=1&max=1]name=bye[/REPLACE]>> Sample.db (after)>> sku name> 1 bye> 1 hello>>> Michael>> -------------------------------------------------------------> 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> Web Archive of this list is at: http://search.smithmicro.com/>-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Pete Campbell
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:
WebCatalog vs. Cold Fusion (1998)
[WebDNA] Hosting (2011)
Fun With [TCP Connect] (1998)
Emailer (WebCat2) (1997)
WebCat2 beta 11 - new prefs ... (1997)
off-topic: SMS interface? (2001)
ShowNext (1997)
Using Eudora instead of Emailer, and cron facility (1998)
Problem using # in my field names ... (1998)
emailer (1997)
error: Too many nested [xxx] contexts (1997)
WCS Newbie question (1997)
Great product and great job ! (1997)
Here we go again... (2006)
[TaxableTotal] - not working with AOL and IE (1997)
RequiredFields template (1997)
Bulk Email >>>>Any ideas? (2001)
Location of Browser Info.txt file (1997)
[WriteFile] problems (1997)
Multiple catalog databases and showcart (1997)