Re: Price Not Appearing SOLUTION
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28519
interpreted = N
texte = I finally found the problem. It's in the Formulas.db.I modified the TeaRoom example to suit my own needs, but was careful not tochange the WebDNA stuff. During the process, I created a new database andnamed it pol.db. I then told PageSpinner (a cool shareware HTML editor) tolook in all of my files and change everything named TeaRoom.db to pol.dbso that the tpl pages would look for the new database. It did so PDQ. Whatcould go wrong?What I didn't do is look in the Formulas.db. I never changed the formula inthe example to tell it to use pol.db instead of TeaRoom.db. Once I foundthat oversight, everything works well. Duh!> Today, when an item is added to the shopping cart, [Price] comes from the> formulas.db ( and the default formula is to lookup the price from the item> database itself ). This way, you can do whatever magic you want to the price> at the time the item is entered into the shopping cart, at which point THEPRICE IS NOW SET. Sorry for yelling, but some people seem to be missingthis clue.John, you're absolutely correct in your analysis, but I didn't recognizethat I needed to revise the Formulas.db given in the example. Yell a bitlouder next time, will ya? Leave out the implicit comments, too. Somethingexplicit like, Look at the *&$^$! Formulas.db, you $%&^$%! newbie! wouldget my attention quicker.Ken was right to question the viability of my database. That's certainlyhitting the target, if not the bullseye.If anyone had known that I had changed the name of the database fromTeaRoom.db to pol.db, they would likely have deduced the cause of theproblem more accurately.I will continue asking my remaining 876 questions about WebDNA after I'vecompleted my self-imposed sentence of spending the weekend with Linda Tripp.Thanks to all who tried to help,Glenn-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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
Associated Messages, from the most recent to the oldest:
|
- Re: Price Not Appearing SOLUTION (Glenn Busbin 2000)
|
I finally found the problem. It's in the formulas.db.I modified the TeaRoom example to suit my own needs, but was careful not tochange the WebDNA stuff. During the process, I created a new database andnamed it pol.db. I then told PageSpinner (a cool shareware HTML editor) tolook in all of my files and change everything named TeaRoom.db to pol.dbso that the tpl pages would look for the new database. It did so PDQ. Whatcould go wrong?What I didn't do is look in the formulas.db. I never changed the formula inthe example to tell it to use pol.db instead of TeaRoom.db. Once I foundthat oversight, everything works well. Duh!> Today, when an item is added to the shopping cart, [Price] comes from the> formulas.db ( and the default formula is to lookup the price from the item> database itself ). This way, you can do whatever magic you want to the price> at the time the item is entered into the shopping cart, at which point THEPRICE IS NOW SET. Sorry for yelling, but some people seem to be missingthis clue.John, you're absolutely correct in your analysis, but I didn't recognizethat I needed to revise the formulas.db given in the example. Yell a bitlouder next time, will ya? Leave out the implicit comments, too. Somethingexplicit like, Look at the *&$^$! formulas.db, you $%&^$%! newbie! wouldget my attention quicker.Ken was right to question the viability of my database. That's certainlyhitting the target, if not the bullseye.If anyone had known that I had changed the name of the database fromTeaRoom.db to pol.db, they would likely have deduced the cause of theproblem more accurately.I will continue asking my remaining 876 questions about WebDNA after I'vecompleted my self-imposed sentence of spending the weekend with Linda Tripp.Thanks to all who tried to help,Glenn-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Glenn Busbin
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:
Draft Manual, Tutorial, and more (1997)
php vs WebCatalog (2000)
PayPal Instant Payment Notification (IPN) (2002)
Nested tags count question (1997)
Rams SuperBowl Champs (2000)
Tip: upgrading to WebCatalog 3.x, fields to watch for (1999)
can WC render sites out? (1997)
Re:Merchant and WebCat 3.0 (1998)
So many lookers, hey smith micro (2003)
WebCat2b13MacPlugIn - [include] (1997)
RE: PIXO support (1997)
NT 4.0/IIS WebCat Installation (1998)
Multi vendor shop (2000)
Summing fields (1997)
Trouble with formula.db (1997)
Listserver problem (1997)
New public beta available (1997)
More on the email templates (1997)
Buying sans cart (1997)
[WebDNA] Getting [groups] from users.db (2009)