relationships
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Relationships

Relationships

resolvedResolved · Urgent Priority · Version 2007

replyReplyWed 24 Feb 2010, 12:10Delegate Tania said...

Relationships

How do you determine which field to link with which field? I have linked PK with PK but it won't let me enforce Referential Integrity as no unique index found for the referenced field of the primary table (but my PK IS uniquely numbered so I am confused!)

For upcoming training course dates see: Pricing & availability

replyReplyWed 24 Feb 2010, 12:51Trainer Stephen said...

RE: Relationships

Hi tanya

Thanks for your question

Could you provide a bit more detail for me please? What are the contents of your two tables. Also are your two PKs autonumber fields

Thanks

Stephen

replyReplyWed 24 Feb 2010, 13:06Delegate Tania said...

RE: Relationships

Hi Stephen
Thank you for your speedy response. I think a week on the course rather than a day may have been in order lol! I work for a charity so have a members table. I have the whole membership database on an excel spreadsheet and have split it up into about 10 or 15 tables with no more than about 13 fields per table. I have tables for events and committees, subs, etc. I am trying to do this step by step. Am I right in thinking that most of my tables have a many to many relationship? If that's the case do I need to make an intermediary table for each and every Committee/Event table? HELP - this is too confusing!
Tania

replyReplySat 8 May 2010, 20:36 Edited on Sat 8 May 2010, 20:50Delegate Mark said...

RE: Relationships

Hi Tania,

I should first make it clear that I am a delegate like you not a tutor. Incase you are still looking for help I am willing to try and help. You have mentioned three tables that you have.

All of your tables should have a primary key field, which should be Long Integer type. If table 'A' is linking to an intermediary table or to any child table, then the primary key in table 'A' will link to a field that is NOT the primary key in the other table (lets call it 'B'). The link field in table B will be a long integer field placed in the table specifically for the purpose of linking to table A.

For the members and subs tables these would probably be best linked as many to many with and intermediary table. Although subs as a many table without intermediary is also possible.

With regards to committes this depends whether you are talking about committee meetings, about which members belong to which committees or both. To simply keep records on who belongs to which committees then this will be one to many with members being on the many side, and the committees being a look-up table.

I hope this helps.

Regards, Mark

replyReplyThu 27 May 2010, 09:38Delegate Tania said...

RE: Relationships

Hi Mark
thanks so much for offering to help! I have spent a couple of times trying to sort out my many "many to many" tables and got myself in a tizz because I have approx 2500 members already. I think I need someone actually with me on this looking at what I'm actually working with. Thanks again. Tania

 

 

Please browse our web site to find out more about
access+course and other Microsoft training courses.

Access tip:

Changing MS Programs Text Size

A handy way to increase or decrease the size of text in Microsoft Word, Microsoft PowerPoint, Microsoft FrontPage, or Microsoft Publisher, first, select the text you want to resize.

Then, to increase the font size, press CTRL+SHIFT+>.

To decrease the font size, press CTRL+SHIFT+<.

View all Access hints and tips

forum postHi,
I attend the above course today and sent the workbook to my email address but have not received anything in my mail account. Mail account is not full.
I can only think that I may have made a mistake in sending the attachements.
Would you kindly re..

» Forum post: Excel Advance


Rate this page:
2.2/5 (213 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training