This should do the trick - Create a multi-valued i-descriptor with this code:
CATS(REUSE(DATE:"*"),CATS(CATS(PART,REUSE("*")),QTY)
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Shawn Hayes
Sent: Friday, 21 May 2010 5:25 AM
To: [email protected]
Subject: [U2] Creating an index
OK, I am hoping this is a simple question...
It has been a while since I have done this and I was hoping someone could help
easily. I have a file with 3 attributes...
DATE - Single value
PART - Multivalue
QTY - Multivalue
(Part and QTY are associated)
I want to create an index that has the key DATE:"*":PART:"*":QTY for each MV
item in the PART and QTY attribute.
I realize that it is probably a poorly constructed key but I want to quickly
get the quantity of parts within a given range...
Any thoughts?
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
DISCLAIMER:
Disclaimer. This e-mail is private and confidential. If you are not the
intended recipient, please advise us by return e-mail immediately, and delete
the e-mail and any attachments without using or disclosing the contents in any
way. The views expressed in this e-mail are those of the author, and do not
represent those of this company unless this is clearly indicated. You should
scan this e-mail and any attachments for viruses. This company accepts no
liability for any direct or indirect damage or loss resulting from the use of
any attachments to this e-mail.
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users