Ask a Question related to Microsoft Access, Design and Development.
-
andy #1
data entry form for many-to-many
I think this is more of a forms question than design
question, so bear with me . . . .
I am designing a database primarily needed to manage our
relationships with community members. Since many contacts
relate to us in more than one capacity things can get
complicated.
I have a many-to-many relationship between a "Contacts"
table (PK=contact ID) and a table of contact types
(PK=contacttypeID). They are joined by a "relationships"
table with two fields (PK=contact ID + contacttypeID).
The problem is: how do I set up a primary data entry
form with a subform that allows me to mark multiple
contact types?
I cannot set it up properly to let me input new records
and select the various contact types for each.
Does this sound familiar? Please help.
andy Guest
-
Data entry form
Can someone point me in the right direction, I need to code many forms that would allow a user to enter one row of data into a SQL database. ... -
Data Entry Form - Can't enter data?
I am using version '02 I have a form bound to a query that will not let me enter any data into the fields. It's as if they are locked, but they... -
<Critical> Loss of Data after entry in form
I'm hainvg users after updating the database over the network via a form having their information being loss. They verify when they are currently... -
Any ideas on how to confirm data entry of an item post entry?
Access 97 is being used. Sorry for the vague subject. The database is a frontend/backend if that makes a difference. There are 3 tables,... -
Creating Data Entry Form
What sort of code would I have to use to create a form used strictly for data entry? I don't have any sort of user controls or workgroup information... -
Sandra Daigle #2
Re: data entry form for many-to-many
Hi Andy,
If your main form is Contacts then you just need a subform for Relationships
with ContactId as the LinkMasterFields and LinkChildFields set to the
ContactId field. Typically this type of subform would be a form in
Continuous view.
You could get a bit fancier and use a pair of MultiSelect Listboxes - for an
example of this you can download my SelectRecords sample on
[url]http://www.daiglenet.com/MSAccess.htm[/url]. It's just another way to deal with
data items that have a Many to Many type relationship.
--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
andy wrote:> I think this is more of a forms question than design
> question, so bear with me . . . .
>
> I am designing a database primarily needed to manage our
> relationships with community members. Since many contacts
> relate to us in more than one capacity things can get
> complicated.
>
> I have a many-to-many relationship between a "Contacts"
> table (PK=contact ID) and a table of contact types
> (PK=contacttypeID). They are joined by a "relationships"
> table with two fields (PK=contact ID + contacttypeID).
>
> The problem is: how do I set up a primary data entry
> form with a subform that allows me to mark multiple
> contact types?
>
> I cannot set it up properly to let me input new records
> and select the various contact types for each.
>
> Does this sound familiar? Please help.Sandra Daigle Guest
-
stevephillips79 #3
Re: data entry form for many-to-many
hi,
You can take advantage of many-to-many relationships in your Access databases, using a form to join many to many fields, so thanks if you are up for checking it out.Last edited by Ravish; September 1st at 11:06 AM. Reason: removed spam links
Banned
- Join Date
- Sep 2010
- Location
- mumbai
- Posts
- 1



Reply With Quote

