I may be doing this all wrong, but I currently have a power app that collects user and location data {Lat, Long, Altitude, UserEmail etc} and I am adding the data as an entry in a sharepoint list by using the collect() function. I then want a form shown bellow that shows the last submission. I know how to tie the form to a gallery but I am not sure how to get the form to show the entry from the button.
I have tried to add an additional collect to capture the entry like this:
ClearCollect(SPEntry, Collect('Job Combo Locks',{Title: JobNumber.Text, JobNumber: Value(JobNumber.Text), Lat: Lat1, Long: Long1, Alt: Alt1, SubmitEmail:User().Email, SubmitDateTime:Now()}))
but for some reason the SPEntry collection is showing multiple entries (not sure where they are coming). Is there an easier way to pass the item being generated by the collect() to the form?