Hi Lars,
In addition to Sylvain's reply, I wanted to comment on this statement:
I noticed that changes in the backend don't automatically show in the frontend.
In the front-end application file, delete the linked tables that are
involved in a relationship that you've edited in the back-end database. Do a
Compact and repair of the FE application file. Then re-establish the linked
tables. You should now see an updated representation of the relationships
diagram in the FE. My advice is to go through this process anytime you make a
design change to a table in the back-end database (ie. delete the linked
tables involved, compact, and re-establish from scratch). Access caches a lot
of information about the structure of the linked table. This cached
information can be inaccurate if you make design changes without refreshing
the link. This process, in my opinion, is better than simply using the VBA
RefreshLinks method.
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________
:
The FE and the BE are two separate things and are not related at all in any
way when it comes to relationshiups and their effect (like cascading delete
or enforcing primary key/foreign key fields). The only purpose to set
relationships on the FE is for documentation purposes only and has
absolutely no effect on the backend and will not be verified, tested or used
or have any other effect whatsoever when Access/JET is working (making
queries) against the BE.
--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
__________________________________________
What is the recommended way to maintain the table relationships in the
relationship window? Should I only work in the backend or are there reasons
to also maintain them in the frondend? I noticed that changes in the backend
don't automatically show in the frontend.
Thanks,
Lars