Re: Replace/Commit not Replacing/Commiting
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35913
interpreted = N
texte = John, try this:[replace db=/full/path/to/database/customernum.txt&eqskudatarq=fred]customernum=[math][lookup db=/full/path/to/database/customernum.txt&lookinfield=sku&value=fred&returnfield=customernum¬found=0]+3[/math][/replace]Replace /full/path/to/database/ with the full path to the db. Just curiousif this helps.BTW, what exact version are you using?Alex> Thanks, but same.> > I am writing [customernum] to the cart, as I reload the page and then check> the cart, I can see the number change. So, the data is getting updated in> ram by WebCat, but the data does not get updated in the customernum.txt> file.> > (grrrr)> > > John Davies> jd@professionalideas.com> _____________________________________________> Martin Associates Design Agency> http://www.professionalideas.com> > >> From: Anup Setty
>> Reply-To: (WebCatalog Talk)>> Date: Tue, 8 Aug 2000 13:38:07>> To: (WebCatalog Talk)>> Subject: Re: Replace/Commit not Replacing/Commiting>> >> Try this,>> [replace db=customernum.txt&eqskudatarq=fred]customernum=[math][lookup>> db=customernum.txt&lookinfield=sku&value=fred&returnfield=customernum¬fou>> nd=0]+3[/math][/replace]>> >> Also make sure you can append to the database, with a simple append>> statement.>> >> =0=0=0=0=0=0=0=0=0=0=0=0=0=>> Anup Setty>> >> Vertical Net>> Email: asetty@vertical.net>> URL : http://www.vertical.net>> >> =0=0=0=0=0=0=0=0=0=0=0=0=0=>> >>>> From: Jason Sofonia >>>> Reply-To: (WebCatalog Talk)>>>> Date: Tue, 08 Aug 2000 12:59:21>>>> To: (WebCatalog Talk)>>>> Subject: Re: Replace/Commit not Replacing/Commiting>>>> >>>> [math show=f]mycustomernum=[lookup>>>> >> db=customernum.txt&lookinfield=sku&value=fred&returnfield=customernum¬fou>>>> nd=0]+3[/math]>>>> >>>> [replace>>>> >> db=customernum.txt&eqskudatarq=fred]customernum=[url][mycustomernum][/url][/>>>> replace]>>> >>> >>> ------------------------------------------------------------->>> 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/> > > -------------------------------------------------------------> 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/Alex J McCombie New World MediaDirector of Interactive Services Drawer 607800/724.8973 Fair Haven, NY 13064Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------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:
John, try this:[replace db=/full/path/to/database/customernum.txt&eqskudatarq=fred]customernum=[math][lookup db=/full/path/to/database/customernum.txt&lookinfield=sku&value=fred&returnfield=customernum¬found=0]+3[/math][/replace]Replace /full/path/to/database/ with the full path to the db. Just curiousif this helps.BTW, what exact version are you using?Alex> Thanks, but same.> > I am writing [customernum] to the cart, as I reload the page and then check> the cart, I can see the number change. So, the data is getting updated in> ram by WebCat, but the data does not get updated in the customernum.txt> file.> > (grrrr)> > > John Davies> jd@professionalideas.com> _____________________________________________> Martin Associates Design Agency> http://www.professionalideas.com> > >> From: Anup Setty >> Reply-To: (WebCatalog Talk)>> Date: Tue, 8 Aug 2000 13:38:07>> To: (WebCatalog Talk)>> Subject: Re: Replace/Commit not Replacing/Commiting>> >> Try this,>> [replace db=customernum.txt&eqskudatarq=fred]customernum=[math][lookup>> db=customernum.txt&lookinfield=sku&value=fred&returnfield=customernum¬fou>> nd=0]+3[/math][/replace]>> >> Also make sure you can append to the database, with a simple append>> statement.>> >> =0=0=0=0=0=0=0=0=0=0=0=0=0=>> Anup Setty>> >> Vertical Net>> Email: asetty@vertical.net>> URL : http://www.vertical.net>> >> =0=0=0=0=0=0=0=0=0=0=0=0=0=>> >>>> From: Jason Sofonia >>>> Reply-To: (WebCatalog Talk)>>>> Date: Tue, 08 Aug 2000 12:59:21>>>> To: (WebCatalog Talk)>>>> Subject: Re: Replace/Commit not Replacing/Commiting>>>> >>>> [math show=f]mycustomernum=[lookup>>>> >> db=customernum.txt&lookinfield=sku&value=fred&returnfield=customernum¬fou>>>> nd=0]+3[/math]>>>> >>>> [replace>>>> >> db=customernum.txt&eqskudatarq=fred]customernum=[url][mycustomernum][/url][/>>>> replace]>>> >>> >>> ------------------------------------------------------------->>> 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/> > > -------------------------------------------------------------> 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/Alex J McCombie New World MediaDirector of Interactive Services Drawer 607800/724.8973 Fair Haven, NY 13064Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------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/
Alex McCombie
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:
General WebCatalog Questions (1997)
New Guestbook Source (1997)
RSS parser (2002)
Retaining data (2003)
RePost: AutoReload? RequireComment? InterpretAll? (1999)
restart needed???? (1997)
[WebDNA] Trigger stops executing (2017)
writefile on OSX (2004)
MOOOOOO (2000)
Shipping Help! (1998)
text size limitation (1997)
problem with [include] and Web*/SSL 3.0.1 (1998)
MacAuthorize order data fields WAS:How To question... (1997)
Country & Ship-to address & other fields ? (1997)
Mozilla/4. and Browser Info.txt (1997)
[OT] HTML EMAIL program wanted (1999)
Emailer Error 550 (Was Strange Crash) (1998)
Date Formats (1997)
Busted at the Border (1998)
Intermitent problem using [referrer] (1997)