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:

Displays by Categories (2000) Fun with Dates - finally resolved but.... (1997) autosensing lanague selection (1997) Num Sort Descending (2004) ReadDateFormat bug in 3.x (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [format] (1998) HTML Editors (1997) [sendmail] on NT? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) cart limit (2002) No luck with taxes (1997) Hiding HTML and page breaks (1997) [isfile] ? (1997) WebCat2 - Getting to the browser's username/password data (1997) WebCatalog for guestbook ? (1997) Shared conversion under WebTen (1998) This list needs a digest: rant, rave... (1997) Linux ODBC and the ODBC Bridge (2000) RAM variables (1997)