J
Jani
In my db 3 fields make up the unique key. In the header, I have a combo box
that works from a query. When the selection is made, an After Update event
populates the data into the last record in the detail section, etc. and this
works fine. A location field is also populated on the record from a selection
made on the main form. A tab then puts the cursor in the appropriate row to
continue entering data. When the record is complete the data is entered on a
SQL table which includes the location. The problem is that the User never
knows until entering all the data and moving off the record if that unique
selection has been made previously - and I am not checking by location as
should be done. Is there a way to check if the 3 fields and the location are
already in the SQL table after the selection? Or create the query for the
combo box that lists only the unique fields that have not been used? Hope
this makes sense and someone can assist me! Jani
that works from a query. When the selection is made, an After Update event
populates the data into the last record in the detail section, etc. and this
works fine. A location field is also populated on the record from a selection
made on the main form. A tab then puts the cursor in the appropriate row to
continue entering data. When the record is complete the data is entered on a
SQL table which includes the location. The problem is that the User never
knows until entering all the data and moving off the record if that unique
selection has been made previously - and I am not checking by location as
should be done. Is there a way to check if the 3 fields and the location are
already in the SQL table after the selection? Or create the query for the
combo box that lists only the unique fields that have not been used? Hope
this makes sense and someone can assist me! Jani