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

How to create a chain of custody in Access

Desstro
I know on a basic level how I want to set up this chain of custody. In a nut shell here is the break down....

I receive work package 12345 and I track that I have indeed received it through a form created from a table in access.

I then schedule the work package to be completed by a crew.

I then give this crews boss the work package to distribute to the crew.

The boss gives it to that crews lead.

Lead gives it to the crew.

Crew does the work.

Package comes back to our data entry clerk to be posted for completion.

This happens on a much more massive scale, everyday about a billion times a day...ok maybe not a billion but close.

The tracking of these work packages is at best....lousy.

Here is what I want to do...

After I schedule the work package 12345, I would like to be able to copy just that specific data from my "received" table to the boss' table and have the "boss" be able to move it from his table to the leads table, and so on. I would like to be able to do this using forms and preferably with only the click of a button by each end user. Also it would be a plus if once it was moved from one table to another, it was removed from the previous.

Please help.....

P.S. I work for the cheapest oil company in the world and am running with MS Access 2003.
May 2 '10 #1
6 3866
Jim Doherty
897 Expert 512MB
@Desstro
Hi Desstro,

Maybe the cheapest oil equates to the cheapest database compared against SQL Server or Oracle or whatever other enterprise level database they might be inclined to give you :)

Seriously though, it seems to me the issue here is who sees what based on certain logic? Generally one does not need to throw data back and forward to different tables necessarily. Logic can be set whereby certain flags in the data can made (ie fields created) and queries used to query that data based on those flags instead. Its difficult to be concise with this without knowing what you currently have specifically.

Are you in a postion to upload an empty copy of your database as a ZIP file so maybe our team can look at it? secondly the 'billions' or nearto thing whilst said in joke can you be more explicit on that on potential datasize?

Welcome to Bytes :)
May 2 '10 #2
NeoPa
32,556 Expert Mod 16PB
Jim has the right of this I suspect.

Depending on how much tracking (logging) you require you need a single table, with a status flag to indicate the current status of the package. A separate transaction table is probably also required to log each change of status. This may include identifying the date/time as well as the operative involved. Various forms, or a single form, can be used to enter these changes of status.

If the volumes are truly large, it may be worth considering some sort of automation for entering the data, such as bar-coding the items, as well as all the operatives.

Good luck with your project :)
May 2 '10 #3
Thanks guys for responding.

Jim,
I do not have a data base I can upload, I am still working on creating it from scratch. I did however figure out how I want to keep track of who has what. I do now have another question...
I want to put a command button on a form that when clicked removes the data from its original table and archives it into another table. Any Suggestions?

NeoPa,

The discussion has been suggested to bar code, but it would mean bar coding paper packages that go out into the most extreme weather conditions in Prudhoe Bay Alaska's oil field. A lot of times when I get these work packages back they look like they have been through a hurricane and then shoved into a barrel of oil. But thanks for the suggestion and reply.
May 3 '10 #4
Jim Doherty
897 Expert 512MB
@Desstro
I will shortly create a little sample database that you can look at and rip apart. I have no idea of your fieldnames or your own design but at least you can interpet method my offering to see if it fits your design concept. I get the idea from your original post. It will be very simple include relevant tables,queries,forms, as I see it, even if the fields do not match at least you should get some idea of different approaches. I will also SPLIT this database frontend and backend so that table data is in one database and forms and queries in another database (we can thread about this later if you are not familiar)

You are asking in your LAST post to (using a button) take all data record from one table (A) and place in another table (B) and then delete all from table (A). This is very easy to do and I will also include this method in the sample I will create for you. I will upload it shortly as an attachment for you to download so watch this space :)
May 3 '10 #5
NeoPa
32,556 Expert Mod 16PB
NeoPa,

The discussion has been suggested to bar code, but it would mean bar coding paper packages that go out into the most extreme weather conditions in Prudhoe Bay Alaska's oil field. A lot of times when I get these work packages back they look like they have been through a hurricane and then shoved into a barrel of oil. But thanks for the suggestion and reply.
I simply suggested it was worth considering. It seems you've done this already and your reasoning makes perfect sense :)
May 3 '10 #6
Jim Doherty
897 Expert 512MB
@Desstro

OK... attached is the bare bones of a sample for you to look at. Create a folder and dump the extracted files into it.

The database is 'split' and relies on linked tables from the backend database to the frontend database called desstro.mdb. Open desstro.mdb and form frmMainMenu. You will see a display that will reflects the location of the backend database. Just Click the filepath to change the backend location to where you have stored the desstro_data.mdb file. The code will pickup on it and refresh accordingly. If you dont know the concept of splitting a db then research that on here, it is an important aspect and has advantages.

Obviously I cannot follow any data design model you have there, but one hopes you can pick up on some techniques like populating dropdowns with notinlist events and adding items not currently in the list, and so on, and other such material to help you along your way. This sample is in Access 2000 and coding reflects that. If you have Access 2003 you will have increased functionality over 2000 in certain areas but the general principles are the same.

The append and delete queries I put in there are not in fact used by the sample as it is done in SQL code behind the forms. I merely put them in there in case you wanted to do stuff manually whilst playing with it.

Good luck with your project! :)
Attached Files
File Type: zip desstro.zip (140.2 KB, 161 views)
May 4 '10 #7

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

Similar topics

2
by: Rob | last post by:
Hi all, Quick question, how do you create a table in MS Access from with an asp script? I will be creating the table name from Request.querystring("name"), also needs fields of branchname...
3
by: John | last post by:
Hi, I am a beginner looking for example code on how to create an access database for a local application. I need to create the database when the app is first installed. I can do it with SQL 2000...
0
by: dermot | last post by:
have an MS Access ADP project linked to a SQL Server database. When a particular user tries to create a view she gets an error saying 'ADO error 'create view' does not allow specifying the database...
1
by: intl04 | last post by:
I am getting strange print-related error messages when trying to create (not print!) reports. For example, when I click 'new' to create a report then choose 'design view', I get an error message...
3
by: Susan Bricker | last post by:
I just purchased a new PC that came with MS Office 2003 (Professional Ed.). I opened MS Access 2003 and created a new database but it opened with a "note in the window header bar" that says...
10
by: Minh | last post by:
I search in all the Disscussion but can not found. How can I create a MS Access Database file using C# code with a given Table Structure ? For example, I want to create a Access Database File...
9
by: badboybrown | last post by:
Hello, Is it possible to step through the "Create MDE" process and see what is causing Access to crash? I tried, unsuccessfully, many times to create an MDE from my database. But, randomly, I...
3
by: hanz | last post by:
Hello everyone, I am trying to create an MS Access file using Perl in a Linux environment. By the way I am on a SuSE Linux envrironment. I have already installed the DBI module. I am looking...
0
by: ncsthbell | last post by:
I have a request to programatically create a .pdf file from within a current access application. The problem is that they want this one .pdf file to contain both an access report (created by the...
0
by: John James | last post by:
I need to create a new Access DB based on one already existing...Hence, I am attempting to copy the db struture and not the data; It's a yearly db I need to track/create. I looked on this site and...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...

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.