Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

relationship between tables

Posted on 2012-12-28
3
Medium Priority
?
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

705 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