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=[STOREN AME]&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 Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: RAM problems, [appendfile] problems (natasha 1998)
  2. Re: RAM problems, [appendfile] problems (Kenneth Grome 1998)
  3. Re: RAM problems, [appendfile] problems (natasha 1998)
  4. Re: RAM problems, [appendfile] problems (Kenneth Grome 1998)
  5. Re: RAM problems, [appendfile] problems (Rob Marquardt 1998)
  6. RAM problems, [appendfile] problems (natasha 1998)
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=[STOREN AME]&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 Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

two unique banners on one page (1997) OLD PROBLEM (1997) WebCatalog/Mac 2.1b2 New Features (1997) Subject: Authenticating users without dialog box (1997) Date Math broken on Mac OS X 10.4? (2007) Proposed FormVariables hierarchy (2000) Configuration Q (1998) [WebDNA] Resolve IP to Domain (2018) Rhapsody? (1997) Frustration with formulas.db (1999) WebCatalog 2.1b4/Mac available (1997) Non-Cart Files in Shopping Cart Folder (1997) Keep away (1997) form data submission gets truncated (1997) [OT] Site launch (2004) Follow-Up to: Removing [showif] makes a big difference in speed (1997) [writefile] (1997) (2000) Using Applescript to process WebCatalog functions (1998) [WebDNA] v7 with SSL (2012)