Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behaviour
Message
 
To
All
General information
Forum:
Crystal Reports
Category:
Formulas and functions
Title:
Strange behaviour
Environment versions
Crystal Reports:
Crystal Reports .NET
Miscellaneous
Thread ID:
01613285
Message ID:
01613285
Views:
39
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
Reply
Map
View

Click here to load this message in the networking platform