473,387 Members | 1,517 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,387 software developers and data experts.

Problem on relationship between 2 table

Hi,

I doin a small inventory tracking system and I have created 2 table. Inventory Table store the Inventory ID(PK), date, receiveQty, issueQty, OperatorID(FK) and Operator table store OperatorID(PK) and shift.

I have a form whereby user input all the necessary data such as mention above.

After saving a new record, the Operator ID which located in the Inventory Table as a foreign key does not show the value although the value is available at the OperatorID in the Operator table. I cant even do a query as they do not return any data even i have a few record in my table.

I have attach my database if it can make you clearer and also help me to solve this problem. Thank...
Attached Files
File Type: zip New Inventory Tracking System.zip (96.2 KB, 64 views)
Mar 15 '10 #1
4 1355
ADezii
8,834 Expert 8TB
Just subscribing, will have a look at the DB later. OOPs sorry, I do not have Access 2007, can you convert it to Access 2003 then Upload again?
Mar 15 '10 #2
mshmyob
904 Expert 512MB
cwwaicw311 you should not start a new thread when you have asked a question about your design in another thread and someone was kind enough to help you.

Just to point out you are still far from being normalised (as per your other thread of the same issue) - but since you don't seem to care about that I will tell you what is wrong with this issue.

You have 2 things wrong with your operator ID combo box.

1st - it is not bound to a field in your inventory table (therefore your selection cannot be saved to your inventory table)

2nd - your datasource is a value list rather than a query to your operator table (So in essence your operator table is not being used.)

cheers,
Mar 15 '10 #3
ADezii
8,834 Expert 8TB
Sorry mshmyob, didn't realize that this was a Parallel Thread already addressed. I just hope I'm not the one who addressed it! (LOL).
Mar 15 '10 #4
Hi,

Thank for the answer. I have been trying to normalize but just cant seem to able to normalized it. I hope u would tell me how i can normalize it.
Mar 16 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: middletree | last post by:
Posted this to Access group, meant to do it here: I have what I call a composite table. Can't recall what they called it in database class, but it's where you take the PK of two different...
0
by: Alcyone Oliveira | last post by:
------=_NextPart_000_000D_01C36572.F6480CE0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_000E_01C36572.F6480CE0" ------=_NextPart_001_000E_01C36572.F6480CE0 Content-Type:...
6
by: Rowan | last post by:
Hello, I am having a problem with a join. Either I am just not seeing the obvious, it isn't possible, or I need to use a different approach. I have an application with a vsflexgrid that needs...
2
by: Keith | last post by:
I am having a problem creating a many-to-many-to-many type relationship. It works fine, but when I create a view to query it and test it, it does not generate the results I expected. Below...
20
by: Neil | last post by:
I have an Access 2000 MDB file with a SQL 7 back end. I have a main table with 50,000 records; and I have a selections table with 50,000 records for each machine that uses the database (about...
4
by: Mark Hanley | last post by:
I have found similar problems to mine on this and other newsgroups but I still haven't been able to solve my problem... I have two tables 'Pupil' and 'SEN' which are related on a field called...
8
by: Bri | last post by:
Greetings, I'm having a very strange problem in an AC97 MDB with ODBC Linked tables to SQL Server 7. The table has an Identity field and a Timestamp field. The problem is that when a new record...
7
by: Ron | last post by:
Hi All, Using Access2000, winXP. Table 1 = tblClients displayed on frmClients via qryClients. 2nd table = tblInvoices shown on frmInvoices via qryInvoices. 2nd table = tblDetails shown on...
2
by: uarana | last post by:
Hi All, I've been plugging away at this problem for a while now and was wondering if anyone had an idea they could share. I'm working on a document management database that tracks revisions of...
3
by: shawnews | last post by:
Ok...I'll first describe briefly what I've done. Working from a paper form with over 200 fields - broken into 10 areas, I created a database with 10 tables. I then created a form using those 10...
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: 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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.