Doug,

I don't believe LOCATE is supported I-types.  When I have had to do this
I have had to do some hoop jumping to pull off similar functionality.
For example we have a record with two multi-valued fields...

EVENTCODE
P]B]F]R]R

And

EVENTSTATUS
A-T]B-T]FP-T]K-P]A-P

Now suppose I want the EVENTSTATUS associated with EVENTCODE "B" but I
don't want to resort to BY-EXP.  Here's how I do it in the I-desc...

0002: EVENTSTATUS<1, INDEX(@VM: EVENTCODE: @VM, @VM: 'B': @VM, 1) - 1 >

... Seems to do the trick.

Hope this helps.

Perry Taylor
Zirmed, Inc.
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Farmer
Sent: Thursday, August 09, 2007 2:44 PM
To: u2-users@listserver.u2ug.org
Cc: Vicki Gabler
Subject: [U2] How to use LOCATE in an I Descriptor

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/

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health Information, 
any communications containing such material will be returned to the originating 
party with such advisement noted. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to