I have a SQL Server as backend and use ms access as frontend.
I have two tables (persons
and managers
), manager
is derived from persons
(a 1:1 relation), thus i created a view managersFull
which is basically a:
SELECT *
FROM `managers` `m`
INNER JOIN `persons` `p`
ON `m`.`id` = `p`.`id`
id
in persons
is autoincrementing and the primary key, id
in managers
is the primary key and a foreign key, referencing persons
.id
now i want to be able to insert a new dataset with a form in ms access, but i can’t get it to work. no error message, no status line, nothing. the new rows aren’t inserted, and i have to press escape to cancel my changes to get back to design view in ms access.
i’m talking about a managers
form and i want to be able to enter manager AND person information at the same time in a single form
my question is now: is it possible what i want to do here? if not, is there a “simple” workaround using after insert triggers or some lines of vba code?
thanks in advance