<div dir="ltr"><div dir="ltr">Hi Renate. <div><br></div><div>ABCD was programmed to deal with 2 kinds of relationships between databases:</div><div><br></div><div>1.  One to one  using the ref command of the isis formatting language</div><div>2.  One to Many using the $$REF command of ABCD</div><div><br></div><div>The relationship between your databases is Many to Many because the linking field is repetible and each occurrence points to many records of the linked database.  So, I did some changes in order to solve you request:</div><div><br></div><div>Place the scripts fmt.php and leerregistroisis.php in central/dataentry folder and change the display format in this way:</div><div><br></div><div>/'$$REF:track,track,MID_'v20+|$$|/<br></div><div><br></div><div>Each occurrence of v20 will be separated with $$ and the routine for displaying the record will build a search expression which includes all the occurrences of v20.</div><div><br></div><div>Is mandatory that the prefix for searching the records in the linked database ends with _ (underscore).</div><div><br></div><div>Let me know if it works for you</div><div><br></div><div>Regards</div><div><br></div></div></div>