Re: No Wanna Duppys
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21021
interpreted = N
texte = At 12:52 Uhr -0800 13.11.1998, The Mooseman wrote:>This is what is not working... and I thought would....>>[HideIf [lookup>db=catalog.txt&value=[SKU]&lookinfield=SKU&returnfield=SKU]=[SKU]]>[Append>db=catalog.txt][FormVariables][name]=[URL][value][/URL]&[/FormVariables][/Appen>d>]>[/HideIf]>>[ShowIf [lookup>db=catalog.txt&value=[SKU]&lookinfield=SKU&returnfield=SKU]=[SKU]]>[SKU] already exists!>[/ShowIf]I tried your lookups, they work!In your email are line breaks within the lookup-context. I believe you havethem in your code too - I just found out, that lookups do NOT work, if thewhole lookup is not in one line.btw, you do not need [formvariables] in your append-context.And a tip: you should not name your own variables SKU or name, becauseone day you will accidently call a WebCat function instead of your variable- or a future update will do that for you :-)Name all your variables and form fields with a prefix, for examplev_variable or v.variable or whatever you want, to avoid confusion withWebCat context.Peter++++++++++++++++++++++++++++++++++++++++++++++++Peter Ostry - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++
Associated Messages, from the most recent to the oldest:
At 12:52 Uhr -0800 13.11.1998, The Mooseman wrote:>This is what is not working... and I thought would....>>[HideIf [lookup>db=catalog.txt&value=[SKU]&lookinfield=SKU&returnfield=SKU]=[SKU]]>[Append>db=catalog.txt]
[formvariables][name]=
[url][value][/URL]&[/FormVariables][/Appen>d>]>[/HideIf]>>[ShowIf [lookup>db=catalog.txt&value=[SKU]&lookinfield=SKU&returnfield=SKU]=[SKU]]>[SKU] already exists!>[/ShowIf]I tried your lookups, they work!In your email are line breaks within the lookup-context. I believe you havethem in your code too - I just found out, that lookups do NOT work, if thewhole lookup is not in one line.btw, you do not need
[formvariables] in your append-context.And a tip: you should not name your own variables SKU or name, becauseone day you will accidently call a WebCat function instead of your variable- or a future update will do that for you :-)Name all your variables and form fields with a prefix, for examplev_variable or v.variable or whatever you want, to avoid confusion withWebCat context.Peter++++++++++++++++++++++++++++++++++++++++++++++++Peter Ostry - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++
Peter Ostry
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:
Big Databases (1997)
WebCatalog NT beta 18 problem (1997)
WebCat2: multiple currency support (1997)
Timer Values on [redirect] (1998)
WebDNA 6 (2004)
Where is Orders.db appended? (2000)
Anyone have a one-to-one messageing system? (1999)
multi-paragraph fields (1997)
empty order (2004)
[LOOKUP] (1997)
[WebDNA] Manual install on Manjaro and MariaDB (2017)
Shownext on AOL (2003)
Another question (1997)
Major Security Hole IIS NT (1998)
[WebDNA] PayPal IPN harvester (2013)
Include a big block of text (1997)
[WebDNA] User sessions - cookies only or cookies and a sessions.db? (2016)
WebCatalog and WebMerchant reviewed by InfoWorld (1997)
[WebDNA] WebDNA and Google Geo Tagging (2012)
question: Eudora 3.1.1 (1997)