Re: My Eyes doth deceive me

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40675
interpreted = N
texte = Donovan wrote: > O.K., I've been on this waaaay tooo long now. > > This: > [LOOKUP > db=admin/products.db&value=[url][theSKU][/url]&lookInField=SKU&returnField=DISCAT¬Found=TextIfNotFound] > Always throw out everything except what you are testing. Put just that above line in a template and hard-code [theSKU] and see if it works. There are a couple of things that could be happening (your context is formed correctly AFAICT):1) the database is not where you think it isIn this case, the template should be in a directory directly above a directory called admin which contains the products.db. If this is not the case, change your db= line to correspond to reality.2) [theSKU] is not being passed onto this pageIf in doubt, you should always throw an HTML comment at the top of the template with the form variable you are questioning, something like this: since that way you can see exactly what the form has for that variable before it is used in any context.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: My Eyes doth deceive me (Donovan 2002)
  2. Re: My Eyes doth deceive me (Donovan 2002)
  3. Re: My Eyes doth deceive me (Donovan 2002)
  4. Re: My Eyes doth deceive me (Donovan 2002)
  5. Re: My Eyes doth deceive me (John Peacock 2002)
  6. Re: My Eyes doth deceive me (Paul Uttermohlen 2002)
  7. My Eyes doth deceive me (Donovan 2002)
Donovan wrote: > O.K., I've been on this waaaay tooo long now. > > This: > [LOOKUP > db=admin/products.db&value=[url][theSKU][/url]&lookInField=SKU&returnField=DISCAT¬Found=TextIfNotFound] > Always throw out everything except what you are testing. Put just that above line in a template and hard-code [theSKU] and see if it works. There are a couple of things that could be happening (your context is formed correctly AFAICT):1) the database is not where you think it isIn this case, the template should be in a directory directly above a directory called admin which contains the products.db. If this is not the case, change your db= line to correspond to reality.2) [theSKU] is not being passed onto this pageIf in doubt, you should always throw an HTML comment at the top of the template with the form variable you are questioning, something like this: since that way you can see exactly what the form has for that variable before it is used in any context.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ John Peacock

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:

unsubscribe (1997) Dummy Credit Card Number for debug? (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) WebCatalog/WebMerchant Manuals Available (1998) [WebDNA] Shopping cart code debug (2009) RE: New WebCatalog Version !!! (1997) New Site Announcement (1998) [searchString] (1997) Price written to db as scientific notation??? (1999) More on the email templates (1997) How to Sort Summ data ? (1997) [taxRate] [TaxTotal] ? (1997) Math Function (1997) no global [username] or [password] displayed ... (1997) Multiple Pulldowns (1997) Credit card types (1997) Location of Webcat site in folder hierarchy (1997) carriage returns in data (1997) FW: ANother SHOWIF problem (1997) ShipToState question (1998)