»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 12-03-2001, 05:50 PM   #1 (permalink)
Guest
Guest
 
Posts: n/a
Need help from you access guru's with Access 2000

Okay so in my computer class I was taking a test on queries on access. Piece of cake. Well the database is setup with 2 tables. One is called agent and the other is policies. Last question ask to make up a report that had the names of the agents from one table and 4 other items from the policies table. Well I went into wizard started to add the items and when I got all that I wanted I clicked next and it gave me this error about how the table are not in relationship with each other. Told me to set that up and then I could make my reports. I was like wtf? I looked thru the book and found nothing about relationships. When they created a report in the book it was all from one table not two different tables. So me being the smart one I went into Microsoft help and got information on how to make a relationship. Well I get to relate I go back into wizard and it takes the changes. No relationship errors. But when I click finish the report the report comes up all blank. No names, polices type cost or nothing. It has the outline and that’s about it. im stumped what am I doing wrong? I get to finish my test Wednesday and I need some help guys


thanks

JaYsin

  Reply With Quote
Old 12-03-2001, 07:01 PM   #2 (permalink)
Registered User
 
DVNT1's Avatar
 
Join Date: Oct 2001
Location: Ohio
Posts: 5,577
DVNT1 is on a distinguished road
If a relationship is defined (at least in the query) then you should see a line connecting the two tables by those fields.

If you establish a default relationship, then at least one record in each relating field must match or your results will be NULL.

example: table1 and table2 have the default (one-to-one) relationship created between fields NAME & WHOLENAME

table1:
name
weight
eye color

table2:
wholename
address
phone number

If [name]=DVNT1 and [wholename]=DVNT1 then the 1st matching row in each table will be passed through, else it won't show anything. (again, this is with the default one-to-one relationship)



You can define relationships within the queries or within the Relationship Manager (under TOOLS|RELATIONSHIPS I think)

Last edited by DVNT1; 12-03-2001 at 07:04 PM.
DVNT1 is offline   Reply With Quote
Old 12-03-2001, 07:54 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
Hmm maybe post up the SQL so we can take a look at what you're relating together?
Dunno if its possible with that @#@$@% Access...

I know you can in a query, but not sure in the relationships...

Let us know what you're joining
vass0922 is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 08:44 PM.