G
Guest
I have a form with an underlying table that I need to be able to delete
records from. This is not a problem in itself, but there is a second table I
want to delete a record from which has the same primary key as the first
table. The help screens on how to delete a record describes a current record
with a numeric key and doing a Seek method for the record to be deleted.
However, the primary key is a text field and I get an error message on the
Seek method that the "Operation is invalid without a current index". Can
anyone tell me please how to delete a record from a table in code where the
text key is known but the table is not bound to the form?
Thanks in advance,
records from. This is not a problem in itself, but there is a second table I
want to delete a record from which has the same primary key as the first
table. The help screens on how to delete a record describes a current record
with a numeric key and doing a Seek method for the record to be deleted.
However, the primary key is a text field and I get an error message on the
Seek method that the "Operation is invalid without a current index". Can
anyone tell me please how to delete a record from a table in code where the
text key is known but the table is not bound to the form?
Thanks in advance,