Re: RAM problems, [appendfile] problems
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17979
interpreted = N
texte = On 6/1/1998 9:42 am, natasha so noted...>1. We run 12 stores in our mall. For our statistic needs we created a>database which should contain the info about each order like cart>number, order date, total, etc. For this purpose we added the following>code in each ThankYou.tmpl:>[appendfile ../statistics/stat.db] [CART],[DATE],[TIME],[STORENAME],>[TOTAL],[USERNAME] >[/appendfile]>[closedatabase stat.db]>Eeach one of these values appears on the ThankYou.tmpl.>However, in a mysterious way, some orders are appended to a database,>ans some are not. I cannot find a reason for that. There is no visible>logic in why some orders appear on data and some don't. Looks like>sometimes the [appendfile] works, and sometimes not. The code is the>same in all stores, and it happens in all stores. >What might be a reason for this?From the WebCatalog docs...Note: AppendFile does not 'understand' databases. If you want to append a new record to the end of a database, use Append instead. WebCatalog may be confused by the mixed treatment of the stat.db file. If you want to be using this stat file as a database, try:[append ../statistics/stat.db]cart=[CART]&date=[DATE]&time=[TIME]&storename=[STORENAME]&total=[TOTAL]&username=[USERNAME][/append][closedatabase stat.db]This assumes that you have a stat.hdr file in the statistics folder that would contain:cart
datetimestorenametotalusernameHope this is of some help,Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
On 6/1/1998 9:42 am, natasha so noted...>1. We run 12 stores in our mall. For our statistic needs we created a>database which should contain the info about each order like cart>number, order date, total, etc. For this purpose we added the following>code in each ThankYou.tmpl:>[appendfile ../statistics/stat.db] [cart],[date],[time],[STORENAME],>[TOTAL],[username] >[/appendfile]>[closedatabase stat.db]>Eeach one of these values appears on the ThankYou.tmpl.>However, in a mysterious way, some orders are appended to a database,>ans some are not. I cannot find a reason for that. There is no visible>logic in why some orders appear on data and some don't. Looks like>sometimes the [appendfile] works, and sometimes not. The code is the>same in all stores, and it happens in all stores. >What might be a reason for this?From the WebCatalog docs...Note: AppendFile does not 'understand' databases. If you want to append a new record to the end of a database, use Append instead. WebCatalog may be confused by the mixed treatment of the stat.db file. If you want to be using this stat file as a database, try:[append ../statistics/stat.db]cart=[cart]&date=[date]&time=[time]&storename=[STORENAME]&total=[TOTAL]&username=[username][/append][closedatabase stat.db]This assumes that you have a stat.hdr file in the statistics folder that would contain:cartdatetimestorenametotalusernameHope this is of some help,Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Rob Marquardt
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:
Emailer setup (1997)
Reversed words (1997)
[GROUPS] followup (1997)
WebCatalog/Mac 2.1b2 New Features (1997)
REVISED: Help needed: older WebCat app breaks under 4.0.1 (2000)
WC2b12: Yes, Formulas.db is for real (1997)
Showif Context combined with Search (1997)
Search Combining Problem (2004)
Sku numbers (1997)
Re:1 cent answer? (1998)
weird convertchars behavior (2000)
Triggers (2003)
Don't tick me off :) [elaspedtime] (1997)
Two prices in shoppingcart? (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
Protect vs Authenicate (1997)
Quotation Marks in Database (1998)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
[WebDNA] WebDNA and Google Geo Tagging (2012)
REPLACE problem (2000)