Hi Ben,
many thanks for trying to help.
I’m trying to create the attached report
The question template is in a repeat region and as you can see it properly contains the question and answer options. i need to add in the answer data which are all the queries using Add columns to the initial query GetQStat (which successfully contains all the Question+answer option data that you can see in the attachment).
In the Add Column i dont seem to be able to add in the array of answer details - if i use {{GetEStat[0].EAns}} then i only get the first row , if i use {{GetEStat.EAns}} then i seem to get a nested array which the repeat region doesnt recognise. What i want is
for the first question e.g. QID 914 to add the answer data associated with 914 to the GetQStat query… but however i try and use add column or the Join command i cant get what i need for the nested repeat to work !!
So i think the questions are
- How can i add the queries GQCA1-GQCA5, GCCA1-GCCA5, GECA1-GECA5 to GetQStat so that the resulting query aligns the queries so i achieve the above
- Can i create a single query that does all this so i havent got to try and manipulate the data use Add Column, Join etc functions.
Regarding your questions
- …[0]… - the aim is to get all the entries added to GetQStat matched to the QID
- …<=3 & >2 at one point QUserAns could have had values like 2.3 but i think i have changed that so i probably can change to what you suggest, but my bigger issues are the creation of the single query with all the data that the repeat region can use.
Best regards.