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_Addre
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.