I am converting old Legacy report written on VM platform to Webfocus 8.1.05 it is sorting by Location and then st.amount on subfoot heading. see the code below
When I run it for the amount on subfoot heading it shows 0.
it shows the subtotal amount if I add Amount in the BY fields, but it changes the sort order..
if anyone has any idea how to show subtotal on the amount field without having it in the BY fields to get around it, would appreciate it. ThanksThis message has been edited. Last edited by: FP Mod Chuck,
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
January 30, 2019, 11:33 AM
BabakNYC
I always thought ON fieldname always required a corresponding BY fieldname. Is that not the case in the VM version of the FOCEXEC?
WebFOCUS 8206, Unix, Windows
January 30, 2019, 11:39 AM
FOCdeveloper
Yes AMOUNT is in the print statement and the BY statements have location then ON LOCATION SUBFOOT
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
January 30, 2019, 12:28 PM
Frans
This works fine in 8.2, could you try this code:
TABLE FILE CAR
PRINT MODEL
BY CAR
ON CAR SUBFOOT
"</1 <60 DEBIT/CREDIT BALANCE <84> <ST.SALES> <105 ***</1"
END