Bill,
   not for me though

LIST STK EVAL "DCOUNT(EXTRACT(@RECORD,30,0,0),@VM)" 09:01:48 04 Jun 2008 1
STK.......

Illegal attribute:
select criteria EVAL is not a field.

whereas an itype will
ED DICT STK JAK
Top of "JAK" in "DICT STK", 6 lines, 50 characters.
001: I
002: DCOUNT(EXTRACT(@RECORD,30,0,0),@VM)
003: MD0

i am not familiar with Unidata nor they way this machine is configured but it annoying when simple things like this dont work

jak

----- Original Message ----- From: "Bill Haskett" <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Tuesday, June 03, 2008 7:06 PM
Subject: RE: [U2] Is there a UNIDATA equivalent of Universe Itype @RECORD


Jak:

This worked fine for me in an EVAL. UD v7.1 in Win 2K3 with ECLTYPE = Pick.

:list APOPEN ACCTS AMTS EVAL "DCOUNT(EXTRACT(@RECORD, 9, 0, 0), @VM)" COL.HDG "Cnt"

APOPEN.... ACCT. ACCT/AMTS.... Cnt.......

69*7       2090        270.06  1
830*38779  3060        120.64  2
          3070        111.13
830*38750  3060         63.03  2
          3070         51.78
830*38895  3060         37.15  2
          3070         52.51

Bill

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:owner-u2-
[EMAIL PROTECTED] On Behalf Of John Kent
Sent: Monday, June 02, 2008 8:11 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Is there a UNIDATA equivalent of Universe Itype @RECORD

Jeff,
   what actually worked was...

DCOUNT(EXTRACT(@RECORD,30,0,0),@VM)

doesn't seem to work in an EVAL though
eg
LIST STK EVAL "DCOUNT(EXTRACT(@RECORD,30,0,0),@VM)" A30

jak
----- Original Message -----
From: "John Kent" <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Tuesday, June 03, 2008 11:38 AM
Subject: Re: [U2] Is there a UNIDATA equivalent of Universe Itype @RECORD


Jeff,
   that'll do, thanks
jak
----- Original Message -----
From: "Jeff Butera" <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Tuesday, June 03, 2008 11:08 AM
Subject: Re: [U2] Is there a UNIDATA equivalent of Universe Itype @RECORD


On Tue, 3 Jun 2008, John Kent wrote:

Ken,
 i want to create a simple dict item like

ED DICT STK JAK
Top of "JAK" in "DICT STK", 6 lines, 38 characters.
*--: P7
001: I
002: DCOUNT(@RECORD<30>,@VM)

Try this:

DCOUNT(EXTRACT(@RECORD,@AM,30),@VM)

Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556
-------
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