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

Table layout for items on a pallet

aas4mis
97
I've been out of the access game for a while and was curious what the best table/relationship layout would be for keeping track of items on pallets.

I've got a manifest consisting of name, store, order, and tracking number. I would like to be able to scan a 'start' barcode, scan multiple tracking numbers to a pallet, then scan an end barcode. All items should then associate to a pallet via the unique tracking number so I can later print an end cap to attatch to the pallet before it's shrink wrapped.

Any suggestions on this fairly simple table/relationship layout would be appreciated.

Thanks!
Feb 18 '10 #1
4 1430
aas4mis
97
With this database being so small it might make sense to use a natural PK based off of the tracking number, but I'd like to avoid that (preference). Please suggest a layout which implements surrogate PK's.

Thanks!
Feb 18 '10 #2
nico5038
3,080 Expert 2GB
Obviously using an autonumber with +1 increment is the fastest way, but what about recording the barcode and a date/time stamp ?

Nic;o)
Feb 19 '10 #3
aas4mis
97
I can work out the forms details later (barcode start/stop), I'm just looking for a good base to start with. An ERD if you will. All the manifest info will be imported into 1 table and Pallet info to another table. Not sure the best way to relate the two and what fields to use in the pallet table. I'm sure I'm oversimplifying, should there be a join table? So many ways to organize such simple thoughts, looking for some insight.
Feb 23 '10 #4
aas4mis
97
As much as I want to avoid it I decided to use a natural key based on the tracking number. After a little thought I realized business rules would not always have the manifest data available before the tracking number would be available, breaking my surrogate key design that I had hoped for.
Feb 24 '10 #5

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

Similar topics

8
by: buzz | last post by:
I would appreciate a pointer..... I have an asp page that links to an Access database and retrieves 2500 records and each record line has two listboxes. The problem is, although everything is...
61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
2
by: deepakp | last post by:
Hi, I'm trying to create a site index page. The page layout will consist of a header, left navigation and content display. The left navigation and content display should look like the image file...
10
by: Volker Lenhardt | last post by:
For a QApplication (PyQt) on the small screen of my Zaurus 5500 PDA I try to layout my data output in a QScrollView as the central widget. I'd prefer to use QGridLayout, but cannot add it to the...
2
by: Jeff | last post by:
I've been trying for days to figure out why the spacing between the rows on the left-most column of my table is screwy. Take a look here: http://mypage.iu.edu/~jbeverid/index_new.htm Right...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
3
by: VinylMatt | last post by:
This might be simple or it might not... I've got a table which stores items of equipment. Some items of equipment need servicing and they might need more than 1 type of service. So far I've come...
2
by: Scotter | last post by:
Hi everyone, I've been workin with my database for a while and I'm starting to run into problems with calculating totals and I think it has something to do with the layout of my tables. A rough...
5
by: =?Utf-8?B?Y2RiaWdncw==?= | last post by:
Hi, I've been tasked to write a windows app that allows people to enter transactions. For each transaction, there can be an unknown number of items, and as a person enters an item, the program...
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: 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
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
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?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.