J
jim_s
First post, after much lurking.
I'm fairly new to Access, so please go easy on me, everyone!
I'm having problems with deleting records. I have an archive table containing
records, and a 'Search Result" table that runs an append query to take
records out of the Archive and into the Search Results table. For security
reasons of editing/adding new records, this is therefore a 1-to-1
relationship.
One of the options I want to make available in the Search Results form when
viewing the Search Results table is the ability to delete the current record.
Currently, a VB delete command works fine to delete the current record, but
obviously it needs to delete the corresponding record in the archive. The
tables are linked by a PK Ref number.
How do I get it to do this? I obviously can't turn on cascade deletes due to
relationships. The only other way round this seems to be to create a unique
"Search Results" form for each type of search - at the moment the user can
search by 3 or 4 options, which is a VERY simple append query using the
option searced as a Parameter.
I'd be really grateful for any help.
Thanks!
I'm fairly new to Access, so please go easy on me, everyone!
I'm having problems with deleting records. I have an archive table containing
records, and a 'Search Result" table that runs an append query to take
records out of the Archive and into the Search Results table. For security
reasons of editing/adding new records, this is therefore a 1-to-1
relationship.
One of the options I want to make available in the Search Results form when
viewing the Search Results table is the ability to delete the current record.
Currently, a VB delete command works fine to delete the current record, but
obviously it needs to delete the corresponding record in the archive. The
tables are linked by a PK Ref number.
How do I get it to do this? I obviously can't turn on cascade deletes due to
relationships. The only other way round this seems to be to create a unique
"Search Results" form for each type of search - at the moment the user can
search by 3 or 4 options, which is a VERY simple append query using the
option searced as a Parameter.
I'd be really grateful for any help.
Thanks!