Re: No Wanna Duppys

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21022
interpreted = N
texte = Many TANKS Peter!!!!!The big hurdle was needing a space between lookup and db! I had: [lookupdb=catalog.txt.....] and I needed [lookup db=catalog.txt......]Using the [formvariables] was recommended by my old buddy GrantH!Do you suggest naming ALL the form variables with a letter like my.sku v.sku v.etc?Mooseman >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][/Appe >>n >>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)
Many TANKS Peter!!!!!The big hurdle was needing a space between lookup and db! I had: [lookupdb=catalog.txt.....] and I needed [lookup db=catalog.txt......]Using the [formvariables] was recommended by my old buddy GrantH!Do you suggest naming ALL the form variables with a letter like my.sku v.sku v.etc?Mooseman >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][/Appe >>n >>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 >++++++++++++++++++++++++++++++++++++++++++++++++ The Mooseman

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:

Max Record length restated as maybe bug (1997) Re(2): Append command (1999) HELP WITH DATES (1997) Categories and Sub-categories (2003) Web DNA Central Lives (2000) New iMac, now ... how do I make webdna serve .html files? (2005) Summary search -- speed (1997) [ShowNext] feature in 2.0 (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) Windows-based Code Editor [OT] (2002) Help with Shipping Costs (1997) portal (2002) Quit revisited (1997) Two submit buttons ? (1997) upgrade? (1997) [date format] w/in sendmail (1997) Email (2000) RE: Answer: WebDelivery downloads alias, not original ? (1997) Preventing code execution (2003) why won't this work, please tell me??? (2001)