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  

MSysRelationships



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2010, 11:32 PM posted to microsoft.public.access
Loterken
external usenet poster
 
Posts: 12
Default MSysRelationships

how can i get insert permission on the MSysRelationships table ?
tia


  #2  
Old May 18th, 2010, 11:43 PM posted to microsoft.public.access
John W. Vinson
external usenet poster
 
Posts: 18,261
Default MSysRelationships

On Wed, 19 May 2010 00:32:14 +0200, "Loterken" wrote:

how can i get insert permission on the MSysRelationships table ?
tia


You can't, you needn't, and you shouldn't!

That's sort of like rebuilding your car's transmission... with the engine
running in traffic g.

I'd use VBA with the CreateRelation method to accomplish what you're trying to
do.
--

John W. Vinson [MVP]
  #3  
Old May 19th, 2010, 12:38 AM posted to microsoft.public.access
Loterken
external usenet poster
 
Posts: 12
Default MSysRelationships

I'd use VBA with the CreateRelation method to accomplish what you're
trying to do

Thanks John, i was afraid i had to do that
but if there is no other way, i'll do it


  #4  
Old May 19th, 2010, 08:09 AM posted to microsoft.public.access
david
external usenet poster
 
Posts: 398
Default MSysRelationships

If you want to use SQL instead of DAO, what you
are looking for is a statement using
ALTER TABLE ... CONSTRAINT ...FOREIGN KEY...REFERENCES

Depending on what you are doing, you may have to first use
CREATE INDEX

(david)


"Loterken" wrote in message
...
how can i get insert permission on the MSysRelationships table ?
tia




  #5  
Old May 20th, 2010, 12:25 AM posted to microsoft.public.access
Loterken
external usenet poster
 
Posts: 12
Default MSysRelationships

Thanks david
but that is what i was trying to avoid
i was looking for an easy way out...just inserting records in
MSysRelationships
but if it cannot be done...then it cannot be done


  #6  
Old May 20th, 2010, 08:20 AM posted to microsoft.public.access
david
external usenet poster
 
Posts: 398
Default MSysRelationships

It's not that it can't be done, it's just that that table
is only the report table for the relationship view window.

The actual relationships are foreign key relationships
on the other tables.

(david)

"Loterken" wrote in message
...
Thanks david
but that is what i was trying to avoid
i was looking for an easy way out...just inserting records in
MSysRelationships
but if it cannot be done...then it cannot be done



 




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 04:57 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.