If I read the original post correctly it indicates that it is looking for
both the VM position and the SVM position.
I don't believe a single LOCATE can produce this as how would it represent
the 2 resulting values (VM position and the SVM position)?
Thus, knowing that the user is looking for a unique "D" in this multi-level
field, then the logic may be:
C=DCOUNT(LINE,CHAR(253))
SVM.POS=0
FOR MV.POS = 1 TO C
LOCATE "D" IN LINE<1,MV.POS> SETTING SVM.POS THEN EXIT
NEXT MV.POS
IF SVM.POS=0 THEN STOP "VALUE NOT FOUND"
my 1 cent
----- Original Message -----
From: "Piers Angliss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 10:23 AM
Subject: RE: [U2] Is there a better way?
> > I've got an attribute with value marks and sub-value marks.
>
> > Is there a way that I can do a locate for a value that will give me both
> > the value mark and sub-value make values in universe basic code.
>
> Use FINDSTR (see on-line HELP, both UV and UD)
>
> hth
>
> Piers
> -------
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.u2ug.org/listinfo/u2-users
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users