You need to setup a relationship between the two tables.
The first thing i would do would be to add a primary key to each table. The table in which you are linking to would need a foregin key. So using your tables as an example, i would add:
I would then link the tables as follows:
New_Patient_Layout::_pk_PatientID = crf_table::_fk_PatientID
You would need to create a script and attach it to the next button that would do the following:
take the patient ID from the New_Patient_Layout table and set is in a variable
Go to the case reports form layout
create a new record
set the crf_table::_fk_PatientID field with the variable set above
This will create a new record in the crf_table and set the foreign key as the patient ID so that it is now linked with the patient record.
I c what your saying but ive nevrr done this before can u give me like baby step instructions on how to do this like first click file etc etc. I would much appreciate it if u could thank u.