MATCHES works, unless you want a positional value returned.

IF @RECORD MATCHES "XYZ" THEN 1 ELSE 0
or
TRANS("PRODUCT.FILE",PRODUCT.NUMBER,"DESC","X");IF @1 MATCHES
"0X'Roadster'0X" THEN "FUN" ELSE "BORING"

-- Loue


On 8/9/07, Doug Farmer <[EMAIL PROTECTED]> wrote:
>
> I have someone asking me how to use a LOCATE statement in an I
> Descriptor.  I have never done that and would not know if it is
> possible, or what the syntax is.  Does anyone know if you can do this,
> and what the syntax would be to use the resultant location?
>
> Thanks
>
> Doug
>
>
> This e-mail is for the use of the intended recipient(s) only. If you have
> received this e-mail in error, please notify the sender immediately and
> then
> delete it. If you are not the intended recipient, you must not use,
> disclose
> or distribute this e-mail without the author's prior permission. We have
> taken
> precautions to minimize the risk of transmitting software viruses, but we
> advise you to carry out your own virus checks on any attachment to this
> message. We cannot accept liability for any loss or damage caused by
> software
> viruses.
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to