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:

includes and cart numbers (1997) [group] ? (1997) [WebDNA] a major shift in strategy? (2008) Pricing based on quantity (2000) Another new bug found ... (2000) Beta 18 (1997) anyone using Webcat 4.x in production? (2000) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Can't save email prefs (2003) Artwork (1997) Num Sort Descending (2004) Rotating photo gallery (2004) Thanks and Big News!!! (1997) Major NT problem Interruption of service (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) When do we get to request new features? (1999) [WebDNA] Yet another call for hosts... (2009) Registration Form (1998) WebCat Emailer & Liststar (1997) searching by date (1998)