I have read all three Tutorials, numerous times.
I understand how SQL works and have previously written (admittedly not very complex) SQL queries for Postgres and MySQL.
I understand that the TSQLQuery has TIBConnection as it's Database component, and both TSQLQuery and TIBConnection are connected to the TSQLTransaction. The TDBGrid has the TDatasource as it's Datasource component, which, in turn, has it's Dataset component linked to TSQLQuery.
So, when the TSQLQuery runs an SQL query, the result is displayed in the TDBGrid.
In this case, the Query is 'SELECT * FROM FIELDS;' the result of which is correctly displayed in the TDBGrid.
I want to take the ID field from the Record selected from the FIELDS table and use it to get the document path from the PATH field in the PATHS table for the document, whose ID matches that ID.
I hope this is clearer.
As far as I can tell this is not addressed in tutorial one, nor in tutorials two or three, although I'm happy to be proven wrong.