Thanks to you both for your replies. I did what Hilary suggested and I have a better understanding now of how it works - but I still don't have a full understanding and not sure what to do next.
I created a new view for R&D. I dragged the data fields to the new page as a repeating table. When I load the form, the table populates with all the data - great.
I then dragged one of the query fields to the form, added a button to "query data". Now when I enter data in the field and click the button, the repeating table beneath only brings back matches - also great. (strange though, I have to click the button twice each time for it to work).
So I know my connections are working. Now I want to put a single textbox on my form, run a query to my data source, and retun a single value into that text box. But I can't work out what to do. I was thinking of bringing in the query field as a text box and set its default value to be the value in my active form (which is the project name). But I can't add a default value (it is greyed out).
I'm not really sure what to do next. Please help if you can.