Re: Inventory lookup & display...
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47328
interpreted = N
texte = If you used the code as shown below and got that message then your stock check thing never worked in the first place.Do you have a products.db database?If so what's the path to it from the template?Paul> I just tried what you had there and got the following error(in > quotes):->> Error: the database 'products.db' could not be found or opened IN > STOCK >> You can find the error by going to the following page and choosing a> product:->> https://secure.streethreds.com/ > results.html?cart=1044013144778&__brand=9&the> _CAT=13&search_type=_CAT&RA=452448>> let me know your thoughts...>>> oops, I edited the wrong one of your changes. (don't use the text>> context because then>> the number won't display) use code below:>>>> Donovan wrote:>>>>> [snip]>>> Alan White wrote:>>>>>>> Hi>>>> [showif [lookup>>>> db=products.db&value=[the_ID]&lookinfield=ID&returnfield=NO_INVENTOR >>>> Y]>0]
>>> nt color=#999999>[lookup>>>> db=products.db&value=[the_ID]&lookinfield=ID&returnfield=NO_INVENTOR >>>> Y] IN>>>> STOCK[/showif]>>>>>>-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
If you used the code as shown below and got that message then your stock check thing never worked in the first place.Do you have a products.db database?If so what's the path to it from the template?Paul> I just tried what you had there and got the following error(in > quotes):->> Error: the database 'products.db' could not be found or opened IN > STOCK >> You can find the error by going to the following page and choosing a> product:->> https://secure.streethreds.com/ > results.html?cart=1044013144778&__brand=9&the> _CAT=13&search_type=_CAT&RA=452448>> let me know your thoughts...>>> oops, I edited the wrong one of your changes. (don't use the text>> context because then>> the number won't display) use code below:>>>> Donovan wrote:>>>>> [snip]>>> Alan White wrote:>>>>>>> Hi>>>> [showif [lookup>>>> db=products.db&value=[the_ID]&lookinfield=ID&returnfield=NO_INVENTOR >>>> Y]>0]>>> nt color=#999999>[lookup>>>> db=products.db&value=[the_ID]&lookinfield=ID&returnfield=NO_INVENTOR >>>> Y] IN>>>> STOCK[/showif]>>>>>>-------------------------------------------------------------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://webdna.smithmicro.com/
Paul Willis
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:
Include a big block of text (1997)
Never ending problem.... (2000)
access denied problem (1997)
Need Sample Template - just purchased (1997)
Fun with dates (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
Webstar 1.3.1 PPC (1997)
[WebDNA] how to purge webdna cache of templates? (2009)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
setlineiems and UnitShip Cost (2000)
hideif glitch (2003)
[Sum] function? (1997)
dates and hex formatting (1997)
Re:Email Problem (1997)
WebCatalog Technical Reference (1997)
WC2.0 Memory Requirements (1997)
Exclamation point (1997)
Maybe off topic but how to charge (1997)
Re:Running 2 two WebCatalog.acgi's (1996)
Subtotal Not Calculated on Invoice.html (1998)