Hi
In this screen (CameraScreen) there are these formulas:
In Camera (Camera1):
"If(CountRows(CameraPhotos) <=7 ;Collect(CameraPhotos; {Note:"";Photo :camera1.Photo; PhotoId :Max(CameraPhotos; PhotoId)+1}))"
In Save Bottom:
"If(NewRecord;Navigate(NewInspectionScreen;ScreenTransition.Fade);
If(CountRows(CameraPhotos)>=1;UpdateContext({AddPhoto:Patch(SitePhotos;Defaults(SitePhotos);{PhotoId:Max(SitePhotos;PhotoId)+1;Photo:Last(FirstN(CameraPhotos;1)).Photo;ID:Gallery1.Selected.ID;Note:Text(Last(FirstN(CameraPhotos;1)).Note)})}));;
If(CountRows(CameraPhotos)>=2;UpdateContext({AddPhoto:Patch(SitePhotos;Defaults(SitePhotos);{PhotoId:Max(SitePhotos;PhotoId)+1;Photo:Last(FirstN(CameraPhotos;2)).Photo;ID:Gallery1.Selected.ID;Note:Text(Last(FirstN(CameraPhotos;2)).Note)})}));;
If(CountRows(CameraPhotos)>=3;UpdateContext({AddPhoto:Patch(SitePhotos;Defaults(SitePhotos);{PhotoId:Max(SitePhotos;PhotoId)+1;Photo:Last(FirstN(CameraPhotos;3)).Photo;ID:Gallery1.Selected.ID;Note:Text(Last(FirstN(CameraPhotos;3)).Note)})}));;
If(CountRows(CameraPhotos)>=4;UpdateContext({AddPhoto:Patch(SitePhotos;Defaults(SitePhotos);{PhotoId:Max(SitePhotos;PhotoId)+1;Photo:Last(FirstN(CameraPhotos;4)).Photo;ID:Gallery1.Selected.ID;Note:Text(Last(FirstN(CameraPhotos;4)).Note)})}));;
If(CountRows(CameraPhotos)>=5;UpdateContext({AddPhoto:Patch(SitePhotos;Defaults(SitePhotos);{PhotoId:Max(SitePhotos;PhotoId)+1;Photo:Last(FirstN(CameraPhotos;5)).Photo;ID:Gallery1.Selected.ID;Note:Text(Last(FirstN(CameraPhotos;5)).Note)})}));;
If(CountRows(CameraPhotos)>=6;UpdateContext({AddPhoto:Patch(SitePhotos;Defaults(SitePhotos);{PhotoId:Max(SitePhotos;PhotoId)+1;Photo:Last(FirstN(CameraPhotos;6)).Photo;ID:Gallery1.Selected.ID;Note:Text(Last(FirstN(CameraPhotos;6)).Note)})}));;
If(CountRows(CameraPhotos)>=7;UpdateContext({AddPhoto:Patch(SitePhotos;Defaults(SitePhotos);{PhotoId:Max(SitePhotos;PhotoId)+1;Photo:Last(FirstN(CameraPhotos;7)).Photo;ID:Gallery1.Selected.ID;Note:Text(Last(FirstN(CameraPhotos;7)).Note)})}));;
Navigate(EditInspectionScreen;ScreenTransition.Fade);;Clear(CameraPhotos))"
I have to change Camera1 (photo) to adquireImage (upload pictures).
But what I have to change in formulas?
The pictures are saved in folder "data_images" and the names and numbers of pictures in file "data.xls" as above:

How do I do?