Goo'day, Mark,

At 00:21 05/01/06 -0500, you wrote:

I'm finding that I'm doing a lot of programming for the processing through
multi-valued attributes.

I'm wondering if the method I'm using is the best way to determine the last
element.

LAST=DCOUNT(REC<15>,@VM)
FOR I=1 TO LAST
(process something)
NEXT I

There was a REMOVE thread a few months ago and I use that when I expect that
the number of elements could test the patience of the EXTRACTs. REMOVE doesn't
give you the MV counter for the associated fields by itself. You have to
manage separately and hope to keep in sync. That's more code.

I know that in VB certain object array variables (a list box for example) has
a property for the number of elements. Is there anything in MV that I'm not
aware of for determining the last multi-value that's easier to type than the
DCOUNT expression. I'm looking at reducing my keystrokes.

If this is a serious query, might I suggest a water-cooled keyboard?

Thanks in advance.
Mark Johnson
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.14.13/221 - Release Date: 04/01/06

Regards,

Bruce Nichol
Talon Computer Services
ALBURY        NSW     2640
Australia

http://www.taloncs.com.au

Tel: +61 (0)411149636
Fax: +61 (0)260232119

If it ain't broke, fix it till it is!

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.14.13/221 - Release Date: 04/01/06
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to