Re: Newbie problem blah blah blah

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14924
interpreted = N
texte = >pricing etc it does not return the correct title. Therefore it is not >accessing the correct database or I wouldn't be getting the error. Where >does it get information on what database to use?Gotcha. You must set the database with db=xx.db when you view the order file, or else it cannot figure out where to look it up. You'll notice that when you do $Add or $ShowCart, you send it the db for exactly this reason.WebCatalog does some fancy trickery to simplify your WebDNA inside [LineItems]. If it finds a [xxx] variable it doesn't recognize as one of the predefined textA-E kinds of things, it does a [Lookup] based on the [Sku] of that lineitem and if it finds valid information it will display it.If it turns out there's a bug in WebCatalog that causes this trickery to stop working for some reason, then you can work around it by putting [Lookup] inside your lineitems loop yourself.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Newbie problem blah blah blah (Kenneth Grome 1997)
  2. Re: Newbie problem blah blah blah (Grant Hulbert 1997)
  3. Re: Newbie problem blah blah blah (Grant Hulbert 1997)
  4. Re: Newbie problem blah blah blah (Kenneth Grome 1997)
  5. Re: Newbie problem blah blah blah (Bob Minor 1997)
  6. Re: Newbie problem blah blah blah (Bob Minor 1997)
  7. Re: Newbie problem blah blah blah (Bob Minor 1997)
  8. Re: Newbie problem blah blah blah (Kenneth Grome 1997)
  9. Re: Newbie problem blah blah blah (Marty Schmid 1997)
  10. Re: Newbie problem blah blah blah (Bob Minor 1997)
  11. Re: Newbie problem blah blah blah (Bob Minor 1997)
>pricing etc it does not return the correct title. Therefore it is not >accessing the correct database or I wouldn't be getting the error. Where >does it get information on what database to use?Gotcha. You must set the database with db=xx.db when you view the order file, or else it cannot figure out where to look it up. You'll notice that when you do $Add or $ShowCart, you send it the db for exactly this reason.WebCatalog does some fancy trickery to simplify your WebDNA inside [lineitems]. If it finds a [xxx] variable it doesn't recognize as one of the predefined textA-E kinds of things, it does a [lookup] based on the [Sku] of that lineitem and if it finds valid information it will display it.If it turns out there's a bug in WebCatalog that causes this trickery to stop working for some reason, then you can work around it by putting [lookup] inside your lineitems loop yourself.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Grant Hulbert

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:

Error - Search / Showif (2000) [WebDNA] TCPConnect Help (2014) WebCat2b12plugin - [search] is broken ... not! (1997) UPDATE PROBLEM (1997) [SearchString] usage (1997) Login Page & [Protect] (2001) Loosing Quantity (2000) OLD ORDERS (1998) embedding commands in form (1999) Summary search -- speed (1997) How To question on setting up downloads (1997) RE: OK, here goes... (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) encrypt/decrypt failing (2000) Problems with WebCat 4.01 (2000) Re[2]: Problem with new formvariables (2000) Virtual Postcards (1998) Can GMT be called from the OS ? (2004) Search/sort in URL Was: GuestBook example (1997) Email check problems (1999)