Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 30th, 2007, 04:11 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multiple relationships from table

Hi,

just have a question.

I have a table that has a 1 to many relationship with another table on the 'CreatedBy' field.
I also have a 'ChangedBy' and a 'CheckedBy' field on this same table.

The primary key of the table the data comes from is in a text format (the name of the person). Now the problem I have is that because I already have a relationship on the 'CreatedBy' field, I can't get another relationship on the other two with the same table.

Is there another way to do this?

(I know I could create multiple tables that are identical, but then how do I make sure they synchronize when data is changed in the first one?)

 
Old May 30th, 2007, 06:44 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

This should work. If the wizard won't do it, then put in the values yourself. I frequently do this and just run the wizard on each field.

Are you trying to create the relationship in the relationship viewer? If so, this should still work.

Are you still having problems with this?

(Access doesn't support reflexive relationships, but I can make it do that too by just hand coding the fields, so this should work.)


mmcdonal
 
Old May 30th, 2007, 11:34 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Sorry. I am unsubscribing to stop the emails from this duche bag choooper since the moderator seems to have fallen off the earth. Email me directly if you have any questions.


mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Table / Field relationships Somed00d Access 2 February 8th, 2006 02:20 PM
Table relationships tanjuakio SQL Server 2000 3 July 28th, 2005 09:14 AM
Avoiding multiple Relationships Marden Lee SQL Language 4 February 16th, 2005 08:30 AM
Multiple tables with relationships Please Help Lesviper Access VBA 6 February 3rd, 2005 08:20 PM
Multiple Joins in Multiple Table Search query pookster Access 4 September 23rd, 2004 03:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.