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:
$Quit, $CloseDatabase corrections (1997)
Where is f2? (1997)
same bill to and ship to? (1998)
Re2: frames & carts (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
WebCatalog Hosting (1998)
Emailer help....! (1997)
Sort Order on a page search (1997)
WebObjects (2000)
[WebDNA] Error: Can't open order file. Ignoring [OrderFile] (2011)
Request for quote (2000)
Email within tmpl ? (1997)
Sendmail truncation in Eudora Clients (1998)
[WebDNA] remove html comments (2009)
Authenticating users without dialog box (1997)
[writefile] (1997)
Store Builder, technical infos (1998)
ShowNext example for GeneralStore (1997)
Extended [ConvertChars] (1997)
Dreamweaver noedit ??? (2005)