Listvaluecount, I believe, will return the count of it's instances, but not
the positions where they exist.

  If you need the list positions, I can't think of anyway other than looping
through the list and comparing element by element?

  But then my brain keeps focusing on the South Africans tomorrow, so I
could be missing something.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 17 October 2003 13:23
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] List Question



ListValueCount




 

                    "Paddy McKay"

                    <[EMAIL PROTECTED]        To:
<[EMAIL PROTECTED]>                                     
                    rty.co.uk>                        cc:

                                                      Subject:     [ cf-dev
] List Question                                     
                    17/10/2003 13:21

                    Please respond to dev

 

 




Hi All,

Maybe I am suffering from brain fade again (stop sniggering Roadnight!),
but how can I find the all the positions that a value might appear in a
list.

Basically, I get a list of values from a query, but the value I am looking
for may appear more than once. If I do Listfind it returns the position of
the first instance, but how do I get the positions of the rest of them?

Any pointers appreciated.

paddy
-----------------
Paddy McKay
Scottish Property Network
[EMAIL PROTECTED]
Tel: 0141 561 7300
Fax: 0141 561 7319




-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
DISCLAIMER: This e-mail is confidential and may also be legally privileged.
If you are not the intended recipient, use of the information contained in
this e-mail (including disclosure, copying or distribution) is prohibited
and may be unlawful.  Please inform the sender and delete the message
immediately from your system.  This e-mail is attributed to the sender and
may not necessarily reflect the views of the Patsystems Group and no member
of the Patsystems Group accepts any liability for any action taken in
reliance on the contents of this e-mail (other than where it has a legal or
regulatory obligation to do so) or for the consequences of any computer
viruses which may have been transmitted by this e-mail. The Patsystems Group
comprises Patsystems plc and its subsidiary group of companies.

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to