Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old July 28th, 2008, 10:36 AM
Authorized User
 
Join Date: May 2007
Location: , , .
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unbound Forms

Hi All,

Can anyone point me in the direction of either in Wrox's books or someone else's for a tutorial in a many to many unbound form.

One Complaint many complainants each of whom can make many different complaints is the model I'm working with.

Cheers

  #2 (permalink)  
Old August 4th, 2008, 01:26 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

For a many to many relationship, you need a junction table. So this would be:

tblComplainant
CID
CFirstName
CLastName
etc

tblComplaint
ComplaintID
ComplaintType
etc

tblComplainant_Complaint
CCID
ComplainantID
ComplaintID
Date
Time
Notes
etc

This would allow one person to make many complaints. This would not allow many people to be involved in one complaint incident. Can you be more specific?

Why do you want the form unbound? Which would be the parent on the form, Complainant or Complaint?

HTH

mmcdonal

Look it up at: http://wrox.books24x7.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
unbound queries iisha64 Access VBA 6 January 23rd, 2007 11:37 AM
Bound Vs Unbound controls Richard_AU ADO.NET 1 January 16th, 2007 01:40 PM
Unbound field lee27 VB Databases Basics 1 January 5th, 2005 07:53 AM
Chapter 17 - Using Unbound forms question Arcadi BOOK: Access 2003 VBA Programmer's Reference 0 August 18th, 2004 03:52 PM
can anybody help me in using unbound fields in CR prasan BOOK: Professional Crystal Reports for VS.NET 0 July 20th, 2004 12:41 AM





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