If you are trying to use the MyRec<MWBE.VALU> in a BASIC program this might
help.
Try the following:
Correlative=OCONV('MWBE.VALUE','TDICT YourFile;X1;;8')
@FILENAME = YourFile
@ID = RecordKey
VALUE = OCONV(MyRec,Correlative)
Regards,
Neil.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of ww
Sent: 22 January 2009 23:03
To: jBASE
Subject: Attribute Reference
If a have an attribute defined as follows
MWBE.VALU 0 A;IF N(ITEM.TYP MD2 R 12
E) = "M" THEN N
(SHIP.VALU) ELS
E IF N(CPN) = "
4199009" THEN N
(SHIP.VALU) ELS
E ""
Can I somehow reference it later like: MyRec<MWBE.VALU>? The DICT file
I'm working with has a SHIP.VALUE item where the attribute mark count
has a value of 11 so I can easily do MyRec<11> to get the SHIP.VALUE.
Because MWBE.VALU has the formating I want I'd like to use it but
there are other items that also have a 0 (zero) in the attribute mark
count and so I can't reference MWBE.VALU as MyRec<0>.
I tried create an item with the attribute mark count of 13 to
reference SHIP.VALUE hoping I could use attribute 7 or 8 but couldn't
make it work.
Thanks in advance,
WW
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.5/1886 - Release Date: 21/01/2009
21:15
--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines
IMPORTANT: Type T24: at the start of the subject line for questions specific to
Globus/T24
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---