kcsilentbob
Technical User
i need help with a maximum sql expression that I saw posted on this board.
Basically I am intendeding to display only the maximum date for each record. i saw that a sql expression is probably the best way to go. My problem is that I am setting maximum on a date field on table A, in a group of policy number field on Table B.
I tried this expression
(SELECT MAX(A.ENDDATIME#)
FROM
vwGW20 A
WHERE
A."INXFLD02" = vwGW03."INXFLD02")
and am getting this error
column prefix vwgw03 does not match table name or alias name used in the query.
I am on Crystal XI.
Please help
Basically I am intendeding to display only the maximum date for each record. i saw that a sql expression is probably the best way to go. My problem is that I am setting maximum on a date field on table A, in a group of policy number field on Table B.
I tried this expression
(SELECT MAX(A.ENDDATIME#)
FROM
vwGW20 A
WHERE
A."INXFLD02" = vwGW03."INXFLD02")
and am getting this error
column prefix vwgw03 does not match table name or alias name used in the query.
I am on Crystal XI.
Please help