SET HEADINGS OFF lcTempFile = < temp file name > SELECT patient_id FROM mytable TO FILE (lcTempFile ) lcList = Filetostr(lcTempFile ) ... 'Patient Id: ' + lcList ... ERASE (lcTempFile )>I want to report via email patient id codes that are present in a table...here's what ihave so far but i'm nto sure how to add the patient ides from the table...one email can have 1 patient id or 10 patient id's but i only want to create one email that lists all patient ids that pertain to the center...