Re: replace using &append=T
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68368
interpreted = N
texte = Can you use:[replace db=hours.2007.db&eqSKUdatarq=[url][my_var][/url]&append=t]&SKU=[url][my_var][/url]...more...[/replace]That will replace anything equal to sku=[my_var] and append if there is not a record matching.Matt-----Original message-----From: sbraun sbraun1@twcny.rr.comDate: Fri, 26 Jan 2007 01:47:03 -0500To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.comSubject: replace using &append=T> > Hi All,> > Can someone please help me with getting a replace to work with the > &append=T inside of a loop.> Sometimes my 'bunch of code' will have the [my_var] result in a new > number, and then I wish to append.> Sometimes my 'bunch of code' will have the [my_var] result in a used > number, and then I wish to replace.> > > [loop start=0&end=6&advance=1]> .....bunch of code.......> [search db=hours.2007.db&geSKUdatarq=1][founditems]> [replace db=hours.2007.db&geSKUdatarq=1&append=t]&SKU=[url][my_var][/ > url].....more.......[/replace]> [/founditems]> [/search]> [text]my_var=[math][my_var]+1[/math][/text]> [/loop]> > > > Thanks for any assistance,> sfb> > > > > > -------------------------------------------------------------> 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://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Can you use:[replace db=hours.2007.db&eqSKUdatarq=[url][my_var][/url]&append=t]&SKU=[url][my_var][/url]...more...[/replace]That will replace anything equal to sku=[my_var] and append if there is not a record matching.Matt-----Original message-----From: sbraun sbraun1@twcny.rr.comDate: Fri, 26 Jan 2007 01:47:03 -0500To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.comSubject: replace using &append=T> > Hi All,> > Can someone please help me with getting a replace to work with the > &append=T inside of a loop.> Sometimes my 'bunch of code' will have the [my_var] result in a new > number, and then I wish to append.> Sometimes my 'bunch of code' will have the [my_var] result in a used > number, and then I wish to replace.> > > [loop start=0&end=6&advance=1]> .....bunch of code.......> [search db=hours.2007.db&geSKUdatarq=1][founditems]> [replace db=hours.2007.db&geSKUdatarq=1&append=t]&SKU=[url][my_var][/ > url].....more.......[/replace]> [/founditems]> [/search]> [text]my_var=[math][my_var]+1[/math][/text]> [/loop]> > > > Thanks for any assistance,> sfb> > > > > > -------------------------------------------------------------> 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://webdna.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://webdna.smithmicro.com/
matthew.bohne@benetela.com
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:
How do you TEAM Code? (2004)
Accepting Credit Cards Online (1999)
Data Entry ... Excel Style ... How To? (2001)
[WebDNA] Encrypt Method SHA256 (2018)
Appending Information from one db to another (1998)
Great product and great job ! (1997)
New Command prefs ... (1997)
Security Hole - NetCloak Update (1998)
E-mail Attachments (1997)
last Avery pdf question (2000)
WebCat2: Items xx to xx shown, etc. (1997)
my SOS last week... (1996)
Calculating Shipping (1997)
Can this be done? (1997)
BUG in [showif] using ^ (contains) (1997)
[Reload mydata.db] (1998)
WebCat2.0 acgi vs plugin (1997)
Re[4]: Problem with new formvariables (2000)
Server problem? (1998)
WC1.6 to WC2 date formatting (1997)