Re: [WebDNA] Getting to know ARRAY

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111726
interpreted = N
texte = Why is it that when I use my ARRAY and it contains the same value as = example two, that it does not work. My [frontpage(1,[index],7)] contains the value 20010213180029 When using the direct number 20010213180029 it works but not when using = the ARRAY tag approach... Am I missing something? Beyond that I have actually gotten the ARRAY to spin quite ok. But this = one (above) is causing me a headegg. =E2=80=94 [lookup = db=3D/databases/profile.db&value=3D[frontpage(1,[index],7)]&lookinfield=3D= db_sku&returnfield=3Ddb_name] [lookup = db=3D/databases/profile.db&value=3D20010213180029&lookinfield=3Ddb_sku&ret= urnfield=3Ddb_name] /Palle > On 06/12/2014, at 14.05, Palle Bo Nielsen = wrote: >=20 > Hi >=20 > I am trying to understand ARRAY in WebDNA. So I made this little test = snippet. I does not work though as only this one is populated with data. >=20 >
[frontpage(3,1)] - [frontpage(3,2)] - [frontpage(3,3)] >=20 > and not the rest og the arrays. >=20 > Please assist me here :) >=20 > [search = db=3D/databases/news.db&db_publishdata=3D1&dedb_serialsort=3D1&allreqd=3DT= &max=3D3] > [founditems] >=20 > [index][arrayset = name=3Dfrontpage&dim=3D3,3]([index],1)=3D[index]&([index],2)=3D[db_news_he= adline]&([index],3)=3D[db_image][/arrayset] >=20 > [/founditems][/search] >=20 >
[frontpage(1,1)] - [frontpage(1,2)] - [frontpage(1,3)] >
[frontpage(2,1)] - [frontpage(2,2)] - [frontpage(2,3)] >
[frontpage(3,1)] - [frontpage(3,2)] - [frontpage(3,3)] >=20 >
--- END ---



>=20 >=20 > /Palle--------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Getting to know ARRAY (David Bastedo 2014)
  2. Re: [WebDNA] Getting to know ARRAY (Palle Bo Nielsen 2014)
  3. Re: [WebDNA] Getting to know ARRAY (Donovan Brooke 2014)
  4. [WebDNA] Getting to know ARRAY (Palle Bo Nielsen 2014)
Why is it that when I use my ARRAY and it contains the same value as = example two, that it does not work. My [frontpage(1,[index],7)] contains the value 20010213180029 When using the direct number 20010213180029 it works but not when using = the ARRAY tag approach... Am I missing something? Beyond that I have actually gotten the ARRAY to spin quite ok. But this = one (above) is causing me a headegg. =E2=80=94 [lookup = db=3D/databases/profile.db&value=3D[frontpage(1,[index],7)]&lookinfield=3D= db_sku&returnfield=3Ddb_name] [lookup = db=3D/databases/profile.db&value=3D20010213180029&lookinfield=3Ddb_sku&ret= urnfield=3Ddb_name] /Palle > On 06/12/2014, at 14.05, Palle Bo Nielsen = wrote: >=20 > Hi >=20 > I am trying to understand ARRAY in WebDNA. So I made this little test = snippet. I does not work though as only this one is populated with data. >=20 >
[frontpage(3,1)] - [frontpage(3,2)] - [frontpage(3,3)] >=20 > and not the rest og the arrays. >=20 > Please assist me here :) >=20 > [search = db=3D/databases/news.db&db_publishdata=3D1&dedb_serialsort=3D1&allreqd=3DT= &max=3D3] > [founditems] >=20 > [index][arrayset = name=3Dfrontpage&dim=3D3,3]([index],1)=3D[index]&([index],2)=3D[db_news_he= adline]&([index],3)=3D[db_image][/arrayset] >=20 > [/founditems][/search] >=20 >
[frontpage(1,1)] - [frontpage(1,2)] - [frontpage(1,3)] >
[frontpage(2,1)] - [frontpage(2,2)] - [frontpage(2,3)] >
[frontpage(3,1)] - [frontpage(3,2)] - [frontpage(3,3)] >=20 >
--- END ---



>=20 >=20 > /Palle--------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Palle Bo Nielsen

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:

Re[2]: Next X hits (1996) Exclamation point (1997) Template Security error (1997) Looking for a Manual (1997) Is [thisurl] http or https? (1998) Help name our technology! (1997) WebCat2 - [format thousands] (1997) searches with dash, period etc. (2000) Problem displaying search result (1997) Include a big block of text (1997) New Webcatalog for Mac (1997) NT vs Mac (1997) Template cache problem with WC4 on Mac OS X (2000) Followup question re: checksum for credit cards? (1997) [HIDEIF] inside [FOUNDITEM] (1997) Location of Webcat site in folder hierarchy (1997) Setting up WebCatalog with Retail Pro data (1996) URGENT: BUG, woFIELDdata & FIELDword=ww (2002) Re:E-mailer application times out (1998) Question about Webcatalog and Webstar for Mac OS X (1998)