I define my array at the top of the page of the main report:
whileprintingrecords;
shared stringvar array shdclientname[2];
Shared NumberVar intCount :=1;
I then have my formula in the body of the report
Whileprintingrecords;
Shared stringvar array shdclientname;
Shared numbervar intcount;
// assign client name value to
shdclientname[1] := ({command.pro_clientname});
// intcount := intcount + 1;
in my sub report I display the array
// displaying client name
whileprintingrecords;
// load in shared variables
shared stringvar array shdclientname;
shared numbervar intcount;
local numbervar intclientCount;
local stringvar DisplayClientname;
(
DisplayClientname := DisplayClientname + shdclientname[1]);
DisplayClientname
this is where I get an error.
Any idea
thanks in adv.