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:

[input]?? (1998) SMTP Mail Server (2003) Spiders and Bots (2000) [CART] inside a [LOOP] (1997) Google does it... can WebDNA? Showing only the section (2003) Full text search (1999) MacAuthorize Hub/Client and program linking (1997) shipping costs (1998) item sorting (1997) error (2000) Slightly off-topic hits to purchase ratio? (1999) Using Applescript to process WebCatalog functions (1998) Shopping Cart variation... (1997) Writing to disk (1999) reversing the effects of [url] (1997) WebCat2 several catalogs? (1997) [Announce] Newest Commerce Site based on WebCatalog (1997) Re:Remote stockroom ? (1998) Forms Search Questions (1997) WebCat2b13MacPlugIn - [include] (1997)