I have a database with 2 main tables that I am building for managing patients. The first table contains the patient's information, and the second table contains the details of each referral. They are linked by a unique id number for each patient, so you can only enter each patient once, but have multiple referrals that are linked to that patient's details.
I have a form with the patient's details, and the details of each referral in a continuous subform. I would like the form to display a label saying 'Discharged' she the patient's most recent referral has a discharge date, and 'Current Patient' when the patient's most recent referral doesn't have the discharge date filled in. I have tried numerous ways of doing this but no luck, is there a way to get the form to display this when you select a patient to view?
I have a form with the patient's details, and the details of each referral in a continuous subform. I would like the form to display a label saying 'Discharged' she the patient's most recent referral has a discharge date, and 'Current Patient' when the patient's most recent referral doesn't have the discharge date filled in. I have tried numerous ways of doing this but no luck, is there a way to get the form to display this when you select a patient to view?