And you can add the cols reference to do a distinct on just a particular column, e.g.,

<@distinct array="local$FileListArray" cols="2">

On Apr 16, 2004, at 8:49 AM, Stefan Gonick wrote:


Tags that use arrays need an array reference not an array value:

<@distinct array=local$FileListArray>

Stefan

At 04:10 AM 4/16/2004, you wrote:
Can someone please explain the syntax of the <@DISTINCT> tag?

I have an array assigned as follows:

<@ARRAY NAME=FileListArray VALUE=<@VAR local$FileList> CDELIM='[COL]'
RDELIM='[ROW]' SCOPE=Local>

But this array has three of each filename in it.

I've tried:

<@ASSIGN NAME=DistinctFileListArray VALUE=<@DISTINCT ARRAY=<@VAR
local$FileListArray>> SCOPE=LOCAL>

But get the following error:


An array was expected as a parameter. In @DISTINCT, ARRAY attribute.


Wayne Irvine


                  Byte Services Pty Ltd
               http://www.byteserve.com.au/
                  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

=====================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com
_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to