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 have them in your code too - I just found out, that lookups do NOT work, if the whole 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, because one 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 example v_variable or v.variable or whatever you want, to avoid confusion with WebCat context. Peter++++++++++++++++++++++++++++++++++++++++++++++++ Peter Ostry - Vienna/Austria - www.ostry.com Fon ++43-1-877 74 54 Fax ++43-1-877 74 54-21 ++++++++++++++++++++++++++++++++++++++++++++++++ Associated Messages, from the most recent to the oldest:

    
  1. Re: No Wanna Duppys (Peter Ostry 1998)
  2. Re: No Wanna Duppys (The Mooseman 1998)
  3. Re: No Wanna Duppys (Peter Ostry 1998)
  4. Re: No Wanna Duppys (Kenneth Grome 1998)
  5. Re: No Wanna Duppys (The Mooseman 1998)
  6. Re: No Wanna Duppys (The Mooseman 1998)
  7. Re: No Wanna Duppys (Peter Ostry 1998)
  8. No Wanna Duppys (The Mooseman 1998)
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 have them in your code too - I just found out, that lookups do NOT work, if the whole 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, because one 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 example v_variable or v.variable or whatever you want, to avoid confusion with WebCat context. Peter++++++++++++++++++++++++++++++++++++++++++++++++ Peter Ostry - Vienna/Austria - www.ostry.com Fon ++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:

Mac to UNIX (2000) Feature request (1998) Looping control (1997) Looking for WebCatalog Linux experience/comments. (2001) Banners (1997) [ShowNext] (1997) Sorting problem (1997) Closing Databases (1998) detecting already used [cart]? (2005) Running _every_ page through WebCat ? (1997) REPOST: Overwiting SKU in Cart (2002) Separate SSL Server (1997) [taxRate] [TaxTotal] ? (1997) syntax for contains a word - oops (2002) Nested tags count question (1997) RePost: NAT and the CART (1999) RE: Formulas.db + Users.db (1997) Redirect frame targets (1998) Conditional searching & displaying (1997) old 3.0 mac license for sale? (2003)