473,403 Members | 2,293 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,403 software developers and data experts.

keeping records of previously entered data

I have an inventory list, and a list of employees, an employee writes his name next to the tool he checks out, when he is done someone else puts their name in the field. Is there a way to look and see any and all who have ever checked out a given tool, while only displaying the current employee? This is Access 2003.
May 6 '09 #1
7 1435
NeoPa
32,556 Expert Mod 16PB
Yes, but you'll have to give more information before we can point you reliably in the right direction.

What is your table structure?

Welcome to Bytes!
May 6 '09 #2
JustJim
407 Expert 256MB
@paulbrog
Certainly. The important thing to realise here is that an employee can check out many inventory items (perhaps several at the same time), and an inventory item can be checked out by many employees (although not at the same time). This is a particular type of relationship called a many to many relationship between the inventory and employees tables.

To model a many to many relationship in Access requires another table (usually called a union table), with each of the main tables having a one to many relationship with the union table.

See the Relationships section in Mary's normalisation article for further details.

We can help you set this up, but you'll have to have an understanding of these concepts first. Let us know if you need more help.

Jim
May 6 '09 #3
@JustJim
It's basically two tables, one with inventory, tools are the primary key, then various identifiers of the tools follow serial numbers, manufacturers etc, the final field is the employee field, which relates to contact information of that employee. I can have many people check out many tools, what i don't have is the ability to see who checked out the tool prior to the current borrower.

Thanks again!
May 6 '09 #4
FishVal
2,653 Expert 2GB
@paulbrog
Well.

You should create an additional table storing borrow history.
It should link [Inventory] and [Employees] table in many-to-many relationship.

Regards,
Fish
May 6 '09 #5
NeoPa
32,556 Expert Mod 16PB
A Many-to-Many relationship is usually managed by creating a special table which has FK links to both of the tables you need to link between. It normally consists simply of those two key fields (which together can make up the PK of the table).

This gives a One-to-Many link between each of the two main tables and this Cross-reference table.
May 6 '09 #6
OldBirdman
675 512MB
I would think that the link table would also contain a dteCheckOut and a dteCheckIn field. This would allow for finding all tools checked out - no checkin date - and to create a log of tool use by tool or by employee.
May 6 '09 #7
NeoPa
32,556 Expert Mod 16PB
Good thinking OB. I agree, that would help the project, and would logically fit well in this Many-to-Many linking table.
May 6 '09 #8

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

Similar topics

5
by: -:= Cactus | last post by:
Hi! I've made a form for dataentry in a simple table. However when there are records in that table and I open the form it only displays the new (blank) record. The total number of records is 1,...
4
by: MLH | last post by:
On a data entry only form. lets say a user opens your form and enters 4 consecutive records. Each time, he clicks your SAVE button and a record is save and the record set is advanced to a newrec. ...
7
by: Sam | last post by:
Hello All, We want our Call Service Representatives to be able to go back and view all the records in a table on a form. When closing and re-opening the form the form starts out as record 1 of 1...
0
by: hbomb | last post by:
I have a form which is used to both enter data for an application and to view a snapshot of previous data entered for students. The database’s initial point of entry is a form called INTERESTED...
8
by: Gem | last post by:
Hi I'm struggling with a query returning too many records. I have 3 related tables. tblPatients tblOperations tblTargets Each patient in tblPatients can have more than one operation...
11
by: shriil | last post by:
Hi I have this database that calculates and stores the incentive amount earned by employees of a particular department. Each record is entered by entering the Date, Shift (morn, eve, or night)...
4
by: Neil | last post by:
I previously posted about data shifting between records in my Access 2000 MDB with a SQL Server 7 back end, using ODBC linked tables. Every once in a while, data from one record mysteriously...
4
by: Neil | last post by:
Is there a problem with stability when one uses too many text (memo) fields? I'm having a problem with data from one record occasionally ending up in another record, though apparently not through...
482
by: bonneylake | last post by:
Hey Everyone, Well i am not sure if this is more of a coldfusion problem or a javscript problem. So if i asked my question in the wrong section let me know an all move it to the correct place. ...
3
by: chuck gregory | last post by:
I'm using the 2002 (10.6771.6845) SP3 Access program. I have a form that will not show previously entered data. It has about 45 fields. I will call it the "parent" form. The "parent" form was at...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.