473,395 Members | 1,885 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.

Multiple "timers" in Access

Hello all,

I'm creating an application in ms Access 2007 that is tracking the time for baking for a group of different parts. Every part has a unique part number and "Level" which indicate after what time the part needs to baked.
I have about 500-1000 parts and I don't have any idea how to implement a code for a specific field in the table maybe.

Any suggestions how to solve this?

Thank You.
May 1 '15 #1

✓ answered by zmbd

Hmmm.....
You could build a query against the records to pull those that meet or exceed the time limit the same way that one for a hotel room booking which is similure in concept to what you are doing... checking each part into and out of the "room" to dry out.
Use the form timer event to run the query every say... hour or so, or less depending on the tolerance of your process, so that your parts are listed. Use conditional formatting against the time limits to help visulize the priority parts, etc...
You may require something more robust as you database grows such as one of the SQLServer, MySQL, Oracle to hold the data on a server level so you will want to pay attention to proper normalization rules to allow for easier future upsizing!


Forgive any typos sent from my tablet... My PC fried itself��

8 3645
Rabbit
12,516 Expert Mod 8TB
I don't understand what question you're trying to ask.

I don't have any idea how to implement a code for a specific field
You haven't explained what the code is supposed to do. As far as referring to a specific field in code, you reference it by name. The exact syntax differs depending on where you're trying to call it from and what the code is supposed to do but that's all I can say since I don't know what you're trying to do.
May 1 '15 #2
zmbd
5,501 Expert Mod 4TB
ptaleski: If you are attempting to design a multi-channel timer on a form for process control, that may not be possible.

The only way I see this working is to setup a form timer event that checks to see which projects have been initiated and compare the recorded start time against current system time to determine if the elapsed time has been met against your data. (sounds better in my head ;-) ) This would be a variation of the many idle state timers we've covered here on bytes.

To explain the "initiated concept" the record would have code behind it that caused the initial system time to be recorded against that row/object when an on_click event is tripped.

This is a kludge method.
I work for/with a very large industrial processes and we have process-level-controllers for the various parts of the plant that the controlling database pushes the timer events to... even though we have multiple servers, we have 10,000x that in smart control cards.

If this isn't what you are after, then I am swimming along side that boat that Rabbit is paddling!
-z
May 2 '15 #3
zmbd Thank You for your view on this matter. It is a great idea but still it will solve me only half of my problem.
Let me explain in more details what I'm trying to do:
I don't know in which branch of industry your involved but my problem is about controlling the moisture sensitive level(MSL) of electronic parts. Every level has it's floor time and this time passes this parts have to be baked for another usage.
Your idea can solve my problem with the level 2 parts which have 1 year floor time and they are stored normally. But levels 3,4,5 when are not used are stored in dry cabinet which pauses this timer. So every time part is in dry cabinet the timer must be paused, and here begins my problem. Implementing timer for level 2 it can be done as you suggested because time is running non-stop for all this level 2 components. But how to solve for the other levels..
I was thinking if is possible to run some code with timer that can be paused, on every field in the table in access(similar as Excel)???
I don't know how to wrap my head around this?
If You have any suggestions about the logic how to solve this I will be very grateful.
Thank You..
May 2 '15 #4
zmbd
5,501 Expert Mod 4TB
Hmmm.....
You could build a query against the records to pull those that meet or exceed the time limit the same way that one for a hotel room booking which is similure in concept to what you are doing... checking each part into and out of the "room" to dry out.
Use the form timer event to run the query every say... hour or so, or less depending on the tolerance of your process, so that your parts are listed. Use conditional formatting against the time limits to help visulize the priority parts, etc...
You may require something more robust as you database grows such as one of the SQLServer, MySQL, Oracle to hold the data on a server level so you will want to pay attention to proper normalization rules to allow for easier future upsizing!


Forgive any typos sent from my tablet... My PC fried itself��
May 2 '15 #5
Zmbd Thank You a lot!!!
I will try to put this in practice and hope that will work :)

You are right about using more powerful database but my friend Access is the only legal platform at work that i can work on :)

Thanks again and I will write when I will be done...
May 2 '15 #6
zmbd
5,501 Expert Mod 4TB
Of course if we can help post back... Go ahead and post related question here.. If needed we can start a new thread :)
May 2 '15 #7
jforbes
1,107 Expert 1GB
Just to expand a little... this sounds a lot like a Parts/Warehouse Inventory application. Typically in tracking inventory of this nature, the parts are either lot tracked or serial tracked meaning the parts are as a group or individually given a unique number to track them as long as a company has them in their possession. FDA requirements can take this to a completely different level and you would not want to attempt tracking that inventory with a homegrown solution.

So the basic Inventory application does this:
  • Receives parts, initially creating the tracking number.
  • The parts are placed in a stocking location/warehouse.
  • As they are needed, an order is placed (internally or externally) and the parts are either moved to a different stocking location/warehouse or shipped which would remove them from inventory.
For a more thorough definition and a cure for insomnia, internet search for MRP (Material requirements planning) and MRP II (Manufacturing resource planning )

As the parts are moved from warehouse to warehouse as well as receiving and shipping, a transaction is placed in a history table that contains the lot/serial number, date of transaction, and warehouse location. Typically, it would be this history table that is queried to get the information you are looking to track.
May 4 '15 #8
zmbd
5,501 Expert Mod 4TB
J, IMHO, much better analogy... guess we could look at people like inventory };-)
May 4 '15 #9

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

Similar topics

1
by: Heather | last post by:
Advice greatly appreciated in in finalising setup for data entry : After splitting mdb should an MDE be stored on each local workstation and the data stored on the server? Should individual user...
1
by: mary | last post by:
I am developing an Access db which will be used by multiple users. My questions are: Does MS Access have problems with multiple users accessing the db at once? If yes, what is your solution...
1
by: intl04 | last post by:
Are there any problems with multiple user access to the same Access database on a shared network drive? I have 'shared' chosen for 'default open mode'. As for the record locking properties, I...
6
by: Cable | last post by:
Hello, I am hoping that someone can answer a question or two regarding file access. I have created an app that reads an image from a file then displays it (using OpenGL). It works well using...
0
by: CountDraculla | last post by:
Fixing Multiple Database bug in adoDB popular data access layer for php, adoDB can support multiple databases from different provider at time, but not from same provider. what I mean is if you...
2
by: judelakmal | last post by:
I have an application written in vb 6.0 application. It connects multiple MS Access databases sometimes. I would like to know is will this effects the performance of the application.
0
by: Demonweare | last post by:
Beginner Alert! How do I access public members from different classes at runtime? For example, I have a C#.NET project that uses multiple forms and I need to be able to get values from controls...
6
by: clloyd | last post by:
I have a database with over 20 tables. I need to delete one to many record(s) in all tables by using a loop code. Some tables with have one record, multiple records or no records for the criteria...
1
by: Dinesh Balani | last post by:
Background: I am currently working a medium scale project to improve the database system at my company. Currently there are 10 different ('97) Access databases which are used by different stations...
1
by: Nicholas Davenport | last post by:
Hi I hope someone can shed some light on this for me I have been tasked with creating an outbound database system for multiple users. The database will receive a new batch of data on a monthly...
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:
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
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,...
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,...

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.