OK, Thanks Hilary that helped a lot.
I now have two sections on the form.
The first section is where user enters data and submits. This part works great.
The second section is where I now have a repeating table that displays the table of all the data that users have entered in section one for past 10 days. To do this I modified the SQL statement of the secondary connection.
The problem I now have is when I click Run Query button, it only displays the first record in section one on the form.
Section two is just a table showing data for past 10 days. This works, but what if they need to edit one of these. What I would like to have, is a few data elements that the user could enter and query and it would populate the form's section one.
They could then edit and submit to overwrite record.
Does this make sense and is it possible?
Thank You.