Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 14 Nov 2013 at 4:46am
you could also group by order#, in the group header put a formula like:
shared numbervar ln := 1;
shared numbervar amt:= -1;
shared datetimevar dt:="1/1/1900";
"" //hide the 1 that would show
in the detail section:
shared numbervar ln;
shared numbervar amt;
shared datetimevar dte;
if ln = 2 then(
amt:={table.field};
dte := {table.field1}
);
ln := ln+1;
"" //hide the running line count
finally in the group footer 2 formulas:
shared numbervar amt;
and
shared datetimevar dte;
you could also add in some error checking in case there was no 2nd date...
Joined: 21 Oct 2013
Location: United States
Online Status: Offline
Posts: 3
Posted: 14 Nov 2013 at 9:31am
Thank you very much lockwelle for your advice, sorry for getting back late, as i spent some time to figure it... but it works well! Thanks again for your help!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum