Query-record-Teechart question

hi there,
being new in D4, i face the following problem:
i have two forms. In Form1 i insert data that i can save in a table.
with a button i go to Form2 (teechart). I want in Form2 to add a point
How can i display in the chart a specific record of a table (or query)?
My concern is to display the last record i inserted in Form1 (not
necessarily the last record of the table)