A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Relationships - specify in front-end or back-end



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2008, 05:46 PM posted to microsoft.public.access
MikeB
external usenet poster
 
Posts: 256
Default Relationships - specify in front-end or back-end

When I started my database, I had everything in one access file (.mdb)
then I read here that it is a good idea to split the tables from the
queries and the forms into a back-end (tables only) and a front-end
(forms, queries etc).

Now I notice that I have a Tools - Relationship diagram in both the
front-end and the back end. Which one does Access use? Can I safely
delete one? I don't really think it is correct that this information
should be in two places at the same time.

Thanks.
  #2  
Old October 27th, 2008, 06:13 PM posted to microsoft.public.access
Cheese_whiz
external usenet poster
 
Posts: 391
Default Relationships - specify in front-end or back-end

Hi Mike,

Here's a pasted answer from John Vinson in another forum recently:
________________________________________________
The relationships can only exist and be enforced in the backend; that's where
the tables are. Relationships established in a DIFFERENT database (a frontend)
would have no way of being enforced, since someone could open the backend
directly, or from a different frontend.

So: relationships are *only* in the backend. Anything in the frontend is just
for documentation or information, not for controlling the data.
_________________________________________________


HTH. If it does, give me credit. If it doesn't, blame John
CW

"MikeB" wrote:

When I started my database, I had everything in one access file (.mdb)
then I read here that it is a good idea to split the tables from the
queries and the forms into a back-end (tables only) and a front-end
(forms, queries etc).

Now I notice that I have a Tools - Relationship diagram in both the
front-end and the back end. Which one does Access use? Can I safely
delete one? I don't really think it is correct that this information
should be in two places at the same time.

Thanks.

  #3  
Old October 27th, 2008, 06:36 PM posted to microsoft.public.access
Tony Toews [MVP]
external usenet poster
 
Posts: 3,776
Default Relationships - specify in front-end or back-end

Cheese_whiz wrote:

HTH. If it does, give me credit. If it doesn't, blame John


Both you and John are correct.

Always ignore the relationships diagram in the front end.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
  #4  
Old October 27th, 2008, 09:01 PM posted to microsoft.public.access
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Relationships - specify in front-end or back-end

On Mon, 27 Oct 2008 11:13:01 -0700, Cheese_whiz
wrote:

Hi Mike,

Here's a pasted answer from John Vinson in another forum recently:
_______________________________________________ _
The relationships can only exist and be enforced in the backend; that's where
the tables are. Relationships established in a DIFFERENT database (a frontend)
would have no way of being enforced, since someone could open the backend
directly, or from a different frontend.

So: relationships are *only* in the backend. Anything in the frontend is just
for documentation or information, not for controlling the data.
_______________________________________________ __


HTH. If it does, give me credit. If it doesn't, blame John


g Thanks Cheese_whiz.

Just an additional note - relationships in the frontend are generally
"inherited" from the "real" relationships in the backend. They're not totally
useless, in that when you create a new Query involving two tables, the join in
the query will be defined based on the stored relationship.
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.