D
DenBis
Good day,
Components:
Form: name - frmQuals
Table - name - tblQuals (source to frmQuals)
Textbox - name: Qual
This is what I want to accomplish:
Form frmQuals will be used to enter Qualifications via the
field/textbox "Qual". Presumably in the 'On Exit" event, I
want to check the underlying table (tblQuals) to see if
the Qualification already exists. If it doesn't exist,
fine get out of the sub. If it does exist, then I will
display a MsgBox saying it's a duplicate and proceed to
delete the new entry.
I tried finding information using Loop. until (which I am
not familiar with) and even tried to code an SQL statement
(based on the "Find Duplicates Query" wizard) though I
don't know how the code actually 'acknowledges' that there
ARE duplicates.
What is the best way of accomplishing this?
Thank you
DenBis
Components:
Form: name - frmQuals
Table - name - tblQuals (source to frmQuals)
Textbox - name: Qual
This is what I want to accomplish:
Form frmQuals will be used to enter Qualifications via the
field/textbox "Qual". Presumably in the 'On Exit" event, I
want to check the underlying table (tblQuals) to see if
the Qualification already exists. If it doesn't exist,
fine get out of the sub. If it does exist, then I will
display a MsgBox saying it's a duplicate and proceed to
delete the new entry.
I tried finding information using Loop. until (which I am
not familiar with) and even tried to code an SQL statement
(based on the "Find Duplicates Query" wizard) though I
don't know how the code actually 'acknowledges' that there
ARE duplicates.
What is the best way of accomplishing this?
Thank you
DenBis