J
Joseph Frazer
I have a form that has, among other things, an ID number, first name,
and last name. My problem is that when I enter a name (both parts) in
the form, it creates a new ID even if the person is in the table
already. Is there a way to set the ID to the persons name if they are
in the table, and maybe have a message box box if they aren't? I tried
using : txtID="SELECT ID FROM myTable WHERE ((fName = [firstName]) AND
(lname = [lastName]);"
but that did not work. Any help would be appreciated. Thanks in advance.
Joe
and last name. My problem is that when I enter a name (both parts) in
the form, it creates a new ID even if the person is in the table
already. Is there a way to set the ID to the persons name if they are
in the table, and maybe have a message box box if they aren't? I tried
using : txtID="SELECT ID FROM myTable WHERE ((fName = [firstName]) AND
(lname = [lastName]);"
but that did not work. Any help would be appreciated. Thanks in advance.
Joe