Not really, but think I didn't explain it clearly the first time.
so quick simplification of project so it helps in design:
- 2 categories, 2 sub tabs/categories, 2 pages per sub-category, 1 question per sub-category
- Each question needs the capacity to store up-to 10 pictures associated with that question.
What I've basically come up with is a drop down with coding 'on Change':
UpdateContext({TimerStart:true,Question:Cat2_Tab2_Page1_Q1_lbl.Text, CQ:"Cat2_Tab2_Page1_Q1", SelectedResponse: Cat2_Tab2_Page1_Q1_drp.SelectedText.Value});
If(IsBlankOrError(First(Filter(Responses,Question_Number=CQ))),
Collect(Responses,{Question: Cat2_Tab2_Page1_Q1_lbl.Text,Question_Number:CQ,Selected_Response:Text(Cat2_Tab2_Page1_Q1_drp.SelectedText.Value)}),
Patch(Responses,First(Filter(Responses,Question_Number=CQ)),{Selected_Response:Text(Cat2_Tab2_Page1_Q1_drp.SelectedText.Value)}))
My Camera screen displays the questions text for a reference, the response selected. Now ideally what I want to do is apply the 10 photos directly into the Responses collection. I cannot seem to figure out the right Patch statement to get this thing to apply the photos into that collection.
I can do a simple Collect and get my 10 photos into a new Collection instead, but then I've tried 'saving' them into the Responses collection and that doesn't seem to work either.
***Edit***
Here are some attempts on the capture button -
it at least gives me my name in the right place, however for some reason it's not giving me the picture. - increment the 1 for each other number:
If(Pic1,UpdateIf(Responses,Question_Number=CQ,{Picture1:Master_Camera_dsp.Photo,Picture1_Name:(Text(CQ)&"_01"&".jpg")});UpdateContext({Pic1:false})
Does nothing but looks pretty:
Patch(Responses,If(IsBlankOrError(First(Filter(Responses,Question_Number=CQ)).Picture1),{Picture1:Master_Camera_dsp.Photo,Picture1_Name:Concatenate(Text(CQ),"_01")}
UpdateIf(Responses,Question_Number=CQ,If(IsBlankOrError(First(Filter(Responses,Question_Number=CQ)).Picture1),{Picture1:Master_Camera_dsp.Photo,Picture1_Name:Concatenate(Text(CQ),"_01")}
***Edit***
End goal is to end up with a single collection with the Question number, questions text, selected response, camera_capture 1-10.
Something like that for each question that I can then shoot over to SP to hold onto (Yes I know you have to correct the coding on the pictures to get them to save into SP)