I run on UniData 5.2. I have used the first field conversion and formatting feature of EVAL by inserting a field that has the conversion and formatting I want as the first 'phrase' (stuff to first semi colon) of an EVAL statement as in
... EVAL "FIELD.WITH.CONV.FMT.DESIRED;<eval I want that doesn't reference @1>"... though I often have FMT "xxx" and COL.HDG "yyy" phrases after the EVAL. Karjala >>> [EMAIL PROTECTED] 08/20/2004 5:51:59 AM >>> Hallo David, if you use field-names in your EVAL-expression, EVAL will apply the conversion, format and single-/multivalue-attribute of the first field you mention in your expression for the result. You can overwrite this using then CONV-, FTM-, SINGLE.VALUE- and MULTI.VALUE-keywords. So try for example: ... EVAL "OCONV(ARPI.AMT*100/3, 'MD12')" CONV "" FMT "10R" ... and it will do what you expect. (The above is for UniVerse, but I hope it will be similar for UniData.) Regards Thomas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Morelli, David Sent: Thursday, August 19, 2004 7:29 PM To: [EMAIL PROTECTED] Subject: RE: [U2] EVAL formatting >I am in Unidata and I have been following this and ran into a confusing >result when trying to apply the EVAL/OCONV to a field that has an "MD2," >format in DICT. Is there an easy way to clear the existing format so >that the EVAL/OCONV format will process as intended? ____________ Virus checked by G DATA AntiVirusKit Version: AVK 14.0.1842 from 13.08.2004 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Mailscanner thanks transtec Computers for their support. ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
