Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

relationship between tables

Posted on 2012-12-28
3
Medium Priority
?
318 Views
Last Modified: 2012-12-28
Hello -
am attaching database
2 tables categories and products-
If you open categories - you will see a plus sign and be able to see record related from products table.
I created categories2 table and products2 table and tried to do same thing-
( I usually create joins ( relationships) in queries)
If you open categories2 you will see plus sign - but it gives error "the expression is typed incorrectly or too complex...."
can you tell me how I can make these 2 tables like categories and products?
thank you
test-example.accdb
0
Comment
Question by:davetough
  • 2
3 Comments
 
LVL 5

Expert Comment

by:RehanYousaf
ID: 38727266
CategoryID in Categories is Number format and Text format in Products2

Change CategoryID in Products2 to Number and hopefully it will start working
0
 
LVL 5

Accepted Solution

by:
RehanYousaf earned 2000 total points
ID: 38727319
Your CategoryID in Products2 is actually CategoryName in Categories2
test-example.accdb
0
 

Author Closing Comment

by:davetough
ID: 38727593
thank you
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question