I have two table; TableA and Table B. Both have a key field named Item.
When I add a record in TableA, I would like it to add to TableB
automatically. How do I do it?
Well, I'd ask - should you ever do it? I'd be inclined to say No.
First off, one to one relationships are quite rare. If you're not
Subclassing or doing Table-Driven Field Level Security (or don't
recognize those terms), you probably don't want two tables with the
same primary key.
Secondly, it is almost never appropriate - even with a valid one to
one relationship - to create an empty "placeholder" record in TableB
with the intentof filling it in later.
What real-life Entities do these two tables represent? What are you
trying to accomplish with this new record?
John W. Vinson[MVP]