Hi all, I have the following formula in the report footer of a Crystal Report which displays a list of users contained in the report, If I use the loop method Crystal only prints the last user in the array but using the *join* function lists all of them ( which is what I want ) I have other formulas in the footer that use the loop way and they all work as expected - any ideas ?
Shared stringVar array owner_ids;
local stringvar owners;
join(owner_ids,chr(10)); // This works
local numbervar i;
for i := 1 to ubound(owner_ids) -1 do // This doesn't
(
owners := owner_ids[i] + chr(10);
);
owners;
Regards,
Peter J. Kane
Pete