C
Chrisx
I have a form that uses a table as recordsource. Users
can modify existing records in the table or they can add
new ones.
The problem I have is as follows: I added combo box so
they can go immediately to the record that they want.
This is fine if they just want to modify it. But some of
them are trying to go to a particular record and use it as
a base for a new one. They try to change data in the
form, and think they are saving a new record, but are
really modifying the current one.
Is there some way using code that I can check, and if the
primary key field has changed, add a new record, otherwise
modify the existing one?
Thanks for any help.
can modify existing records in the table or they can add
new ones.
The problem I have is as follows: I added combo box so
they can go immediately to the record that they want.
This is fine if they just want to modify it. But some of
them are trying to go to a particular record and use it as
a base for a new one. They try to change data in the
form, and think they are saving a new record, but are
really modifying the current one.
Is there some way using code that I can check, and if the
primary key field has changed, add a new record, otherwise
modify the existing one?
Thanks for any help.