Trying to warn user of duplicate records at form entry
I have a form which brings up details of a student and a subform where data can be entered for the student. They are linked by pupilID field. Most of the fields on the subform are combobox lookup fields which lookup different tables for their values. Also on the subform is a Tickbox control. I need to be able to show the user whether the underlying table contains duplicate records as they are entering the data. I was going to try using the afterupdate event on subform but the actual values on the subform are not the same as the values on the underlying table. Ie the combobox on the form shows the content of the name field (Text) but the table contains the index ID values (Numbers). ANY HELP
I have a form which brings up details of a student and a subform where data can be entered for the student. They are linked by pupilID field. Most of the fields on the subform are combobox lookup fields which lookup different tables for their values. Also on the subform is a Tickbox control. I need to be able to show the user whether the underlying table contains duplicate records as they are entering the data. I was going to try using the afterupdate event on subform but the actual values on the subform are not the same as the values on the underlying table. Ie the combobox on the form shows the content of the name field (Text) but the table contains the index ID values (Numbers). ANY HELP