Re: Inventory lookup & display...
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47313
interpreted = N
texte = Hi Alan, it looks like you have a variable naming error.change your [theID] to [the_ID] and try that... see below.DonovanAlan White wrote:>Hi>[showif [lookup >db=products.db&value=[the_ID]&lookinfield=ID&returnfield=NO_INVENTORY]>0]
nt color=#999999>[lookup>db=products.db&value=[theID]&lookinfield=ID&returnfield=NO_INVENTORY] IN>STOCK[/showif]>>I have also tried this (adding the text tag):->>[showif [lookup >db=products.db&value=[the_ID]&lookinfield=ID&returnfield=NO_INVENTORY]>0]nt color=#999999>[text][lookup>db=products.db&value=[the***add a _ here***ID]&lookinfield=ID&returnfield=NO_INVENTORY][/text]>IN STOCK[/showif]>-- -Donovan Brooke-Administrator of IT /-Assc. Art Director-Creative Services-Epsen Hillmer Graphics-402.342.1169-------------------------------------------------------------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:
Hi Alan, it looks like you have a variable naming error.change your [theID] to [the_ID] and try that... see below.DonovanAlan White wrote:>Hi>[showif [lookup >db=products.db&value=[the_ID]&lookinfield=ID&returnfield=NO_INVENTORY]>0]nt color=#999999>[lookup>db=products.db&value=[theID]&lookinfield=ID&returnfield=NO_INVENTORY] IN>STOCK[/showif]>>I have also tried this (adding the text tag):->>[showif [lookup >db=products.db&value=[the_ID]&lookinfield=ID&returnfield=NO_INVENTORY]>0]nt color=#999999>[text][lookup>db=products.db&value=[the***add a _ here***ID]&lookinfield=ID&returnfield=NO_INVENTORY][/text]>IN STOCK[/showif]>-- -Donovan Brooke-Administrator of IT /-Assc. Art Director-Creative Services-Epsen Hillmer Graphics-402.342.1169-------------------------------------------------------------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/
Donovan
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:
SSL problems (1998)
Looping control (1997)
Database changes (1998)
Not reading code (1997)
New command suggestion (1997)
Re:quit command on NT (1997)
[WebDNA] Need to get off! (2008)
Banners (1997)
Nested tags count question (1997)
[index] (1997)
Configuring E-mail (1997)
[SHOWIF]s and empty arguments (1997)
WebCat2 - many [carts] on one template page? (1997)
Bug Report, maybe (1997)
WCS Newbie question (1997)
5.0 Pricing (2003)
[WebDNA] WebDNA 8.6 announced - New features (2018)
WebCatalog NT beta 18 problem (1997)
A little syntax help (1997)
Error Messges (1997)