troubleshooting Question

Crystal Report Array display in Group footer

Avatar of Taras
TarasFlag for Canada asked on
Crystal Reports
12 Comments1 Solution822 ViewsLast Modified:
I have a big table which is not normalized.
Table has data about Clubs, Club Addresses, Club Roles, Members, Member Addresses.
Club_ID, C_Name , C_Street_Address, C_City, C_Province, C_Postal_Code,  C_Phone,  C_WebCite, Club_Role, Club_Role_Member_Name, C_Role_Member_Street_Address, C_Role_Member_City,
C_Role_Member_Province, C_Role_Member_Postal_Code, C_Role_Member_Phone, C_Role_Member_WSite.
Every club has 10 different Roles: Role1,Role2,Role3.....
All roles could have several members or none.Only  two has to be displayed on report.
Except for role2 here 4 members have to be displayed. If role does not have any member  empty space has to be displayed for that Role member.
User needs report that will have layout as next: I attached Paint file that can give you hint, sorry is not perfect.
To solve this I went with two groups and arrays approach.
I made two group First Grouping will be Club second will be Club_Roles.
I created a formula for Role member Info it has its name and complete address (Club_Member_Role_Info).
To present Club info and Club Role member’s information in layout as on example I attached here.
 I  put formula: Club_Member_Role_ Info in  an Array,  I created 10 arrays for each role, Role1_Array,Role2_Array…...
I was planning to use those 10 Arrays to pull out its individual members and display them in report on specific places in group footer.
For all of Arrays  it will be member1 and member2 except for Role2 it has four members.
I am declaring arrays in report header,
Uploading them on detail line, Redim (clearing) them in group header (group Club_Role).
And displaying them in in group footer (group Club_Role).
I have problem to display arrays.
E.g. for Role1 I want to display Role1_ Array (member1)  and Role1_Array ( member2)  separately and put them in two different text boxes, however I am getting both of them  together, I cannot separate them.
Is it problem that I am putting all formula (Club_Member_Role_Info )in array on detail line where I am uploading array.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros