473,382 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

one to many howto????

I can't seem to figure out how to creat a one to many relationship

access 2k

in the relationships window i drage the primary key from one table to
the forgien key of another.

it creates a "intermediate" relation with no obvious way to make it a
one to many.

also the check boxes for cascade updates/delete and integrity are not
available

I must be missing something obvious

tia

chris

Dec 29 '05 #1
7 1179
Use the 'Join Type' button after dragging your primary key to your
foreign key.

Dec 29 '05 #2
Chris:
Primary Key in your 'one' table should have the little key icon next to
it when you're looking at the design of the table, and the 'indexed'
property should say 'Yes (No Duplicates)'. Foreign key in your 'many'
table's design should have indexed property as 'Yes (Duplicates OK)'

If you have the primary key properly defined in the 'one' table, it
should be bold when you see it in the relationship window. Then, in
the 'many' table, it should not be shown in bold. If that is the case,
when you drag the bolded primary key to the non-bolded foreign key, it
should automatically create the one-to-many relationship. Hope that
makes sense!

HTH,
Jana

Dec 29 '05 #3
Thx Jana - you pointed me in the right direction - I was trying to set
up my relationships in the front end of a split db - i needed to be in
the _be

-chris

Dec 29 '05 #4
Now i seem to have 2 different set of relationships??? on in the Front
End and one in the back end.

How does that work???

Should i have all my relationships in the _be ?

Dec 29 '05 #5
Chris:
You should define your relationships in the back end, and then, (I
believe) they will transfer over to the front end when you link to the
tables.

Jana

Dec 29 '05 #6
thx again Jana -

one more question

I am setting up my relationships on my dev version of the Back End w/
test data in the tables.

Is there a way to move just the relationships over to the production db
be??

-chris

Dec 29 '05 #7
Probably easier to just move the data... You need to move in
"parent-most" order if you have referential integrity declared.
(Customer, then Invoice, then Products, then InvoiceDetails) (have a
look at Northwind. You start at the "one" side of all the
relationships and move down.

Dec 30 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
4
by: Josef Sachs | last post by:
Is Andrew Kuchling's regex-to-re HOWTO available anywhere? I've found the following (dead) links on various Web pages: http://py-howto.sourceforge.net/regex-to-re/regex-to-re.html...
8
by: ATS | last post by:
HOWTO Implement LoadLibrary\GetProcAdrress\FreeLibrary in C# Please help, I want to fully implement LoadLibrary\GetProcAdrress\FreeLibrary in C#, and be able to call functions that I use...
4
by: Ray Dukes | last post by:
What I am looking to do is map the implementation of interface properties and functions to an inherited method of the base class. Please see below. ...
2
by: Matthias Pospiech | last post by:
I need a fast and reliable FFT algorithm in C++. I found a C algorithm on the webseite http://www.fftw.org/index.html (FFTW). But I am stuck at the point howto actually use the algortihm and...
7
by: =?Utf-8?B?QVRT?= | last post by:
HOWTO Run multiple SQL statements from ASP/ADO to an Oracle 10g. Please help, I'm trying to write an ASP page to use ADO to run a long query against an Oracle 10g database, to create tables,...
2
by: dmitrey | last post by:
Hi all, here is a question already mentioned below, and I'm also interested in that one very much. unfortunatly, I can't write anything to matplotlib mailing lists because I constantly get server...
3
by: Larry Hale | last post by:
Thank you, again, Michael, for all your help many months ago. I *FINALLY* got a HowTo done up; please see http://wiki.python.org/moin/HowTo/FileMagic I've also emailed Mr. Hupp to see if he'll...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.