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=3Ddb_sku&returnfield=3Ddb_name]
[lookup db=3D/databases/profile.db&value=3D20010213180029&lookinfie=ld=3Ddb_sku&returnfield=3Ddb_name]
/Palle
> On 06/12/2014, at 14.05, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:
>
> Hi
>
> 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.
>
> <BR>[frontpage(3,1)] - [frontpage(3,2)] - [frontpage(3,3)]
>
> and not the rest og the arrays.
>
> Please assist me here :)
>
> [search db=3D/databases/news.db&db_publishdata=3D1&dedb_serial=sort=3D1&allreqd=3DT&max=3D3]
> [founditems]
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0[index][arrayset name=3Dfrontpage&dim=3D=3,3]([index],1)=3D[index]&([index],2)=3D[db_news_headline]&([index]=,3)=3D[db_image][/arrayset]
>
> [/founditems][/search]
>
> <BR>[frontpage(1,1)] - [frontpage(1,2)] - [frontpage(1,3)]
> <BR>[frontpage(2,1)] - [frontpage(2,2)] - [frontpage(2,3)]
> <BR>[frontpage(3,1)] - [frontpage(3,2)] - [frontpage(3,3)]
>
> <BR>--- END ---<BR><BR><BR><BR>
>
>
> /Palle---------------------------------------------------------
> This message is sent to you because you are subscribed to
> the mailing list <talk@webdna.us<=/a>>.
> To unsubscribe, E-mail to: <talk-leave@webdna.us>
> archives: http://mail.webdna.us/list/talk@webdna.us
> Bug Reporting: support@webdna.us<=/a>
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g=t;.
To unsubscribe, E-mail to: <talk=-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
Ten Plus One Communications Inc.
http://www.10plus1.com
416.2=77.4499
|
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=3Ddb_sku&returnfield=3Ddb_name]
[lookup db=3D/databases/profile.db&value=3D20010213180029&lookinfie=ld=3Ddb_sku&returnfield=3Ddb_name]
/Palle
> On 06/12/2014, at 14.05, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:
>
> Hi
>
> 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.
>
> <BR>[frontpage(3,1)] - [frontpage(3,2)] - [frontpage(3,3)]
>
> and not the rest og the arrays.
>
> Please assist me here :)
>
> [search db=3D/databases/news.db&db_publishdata=3D1&dedb_serial=sort=3D1&allreqd=3DT&max=3D3]
> [founditems]
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0[index][arrayset name=3Dfrontpage&dim=3D=3,3]([index],1)=3D[index]&([index],2)=3D[db_news_headline]&([index]=,3)=3D[db_image][/arrayset]
>
> [/founditems][/search]
>
> <BR>[frontpage(1,1)] - [frontpage(1,2)] - [frontpage(1,3)]
> <BR>[frontpage(2,1)] - [frontpage(2,2)] - [frontpage(2,3)]
> <BR>[frontpage(3,1)] - [frontpage(3,2)] - [frontpage(3,3)]
>
> <BR>--- END ---<BR><BR><BR><BR>
>
>
> /Palle---------------------------------------------------------
> This message is sent to you because you are subscribed to
> the mailing list <talk@webdna.us<=/a>>.
> To unsubscribe, E-mail to: <talk-leave@webdna.us>
> archives: http://mail.webdna.us/list/talk@webdna.us
> Bug Reporting: support@webdna.us<=/a>
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g=t;.
To unsubscribe, E-mail to: <talk=-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
Ten Plus One Communications Inc.
http://www.10plus1.com
416.2=77.4499
DOWNLOAD WEBDNA NOW!
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...