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

Tracking Time via Manual Input

Using XP and Access2003:
I'm trying to track furnace downtime.
Operators will enter the downtime date and time manually but it could
be entered some time after the furnace goes down.
I can give them an activeX calendar to choose the date but how do I get
them to enter the exact(ish) time the downtime occurred?
Once I have the date and time in their respective fields, How do I
combine Date & Time so their value can be used to calculate how long
the furnace was down?

TIA, Rick

Mar 20 '06 #1
3 1358
Look at the "general" date/time format that displays both in the
field/control and permits data entry of both. Use the DateDiff function to
calculate duration between your stop and start values. Defaulting to
"Now()" will enter both date+time. Entering just the date (like Date()
does) using an implied time of midnight.
-Ed
"2D Rick" <rb*******@compuserve.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
Using XP and Access2003:
I'm trying to track furnace downtime.
Operators will enter the downtime date and time manually but it could
be entered some time after the furnace goes down.
I can give them an activeX calendar to choose the date but how do I get
them to enter the exact(ish) time the downtime occurred?
Once I have the date and time in their respective fields, How do I
combine Date & Time so their value can be used to calculate how long
the furnace was down?

TIA, Rick

Mar 20 '06 #2
I see where this would work if I was using the default time and date
but the operator might not enter the downtime untill later in the day
and not at the actual downtime.
If I missunderstood you, please clarify.
Thanks for the quick reponse,
RICK

Mar 20 '06 #3
I was suggesting using just one data entry control for both time and date.
Set the field/control format to "general date"
and use the input mask:
99/99/00\ 99:00\ >LL;0;#
to permit users to data enter "0303061015am" and have it displayed as
03/03/2006 10:15 AM

All this assumes that you're trying to log durations over more than one day.
You could, of course, enter separate date+time, but that makes counting down
time a bit more complex.
-Ed
"2D Rick" <rb*******@compuserve.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
I see where this would work if I was using the default time and date
but the operator might not enter the downtime untill later in the day
and not at the actual downtime.
If I missunderstood you, please clarify.
Thanks for the quick reponse,
RICK

Mar 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: binger | last post by:
Okay, Superbowl is only a few days away, but I thought it would be cool to set up an online registration for a football squares pool. My thoughts are to have people go into anywhere on the 10x10...
2
by: Peter Wright | last post by:
Hi all. Hopefully this should demonstrate the problem I'm having: http://flooble.net/~pete/focus-problem-demo/ (I'm testing it in Mozilla only, but I'm not sure if it's actually a...
3
by: Kyle Friesen via AccessMonster.com | last post by:
Mike, I have databse that creates a "tracking number" based on the selections made on the form via concatenating. At the end of the tracking number, I need a two digit (01-99) sequence number by...
1
by: fred tate via .NET 247 | last post by:
I'm working on a project that will track a great deal of data forindividuals and will keep track of users for a very long time (5- 10) years. I'm looking for options as far as tracking anddisplaying...
2
by: runner7 | last post by:
Can anyone tell me if there is a way in PHP to determine when a session times out on the server or how many concurrent sessions there are in your application?
0
hqprog
by: hqprog | last post by:
Having search extensively I've learned the two functions timegm and gmtime_r though in the GNU standard C library extend the ISO standard. I need to use these two functions in myprog.c (on pc - ...
0
by: LiveTecs | last post by:
http://www.livetecs.com TimeLive Web Collaboration Suite is an integrated suite that allows you to manage project life cycle including tasks, issues, bugs, timesheet, expense, attendance. ...
0
by: krishna81m | last post by:
Could some one please explain why the session is not being maintained when I am doing a forward in a servlet after setting a cookie. I am even unable to set session attributes or parameters and...
3
by: bnashenas1984 | last post by:
Hi every one I'v been googling for more than 1 week but I don't seem to find any answer for my question. unfortunatly there are not many articles about using Paypal in a self made script. I...
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
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
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
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...
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
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.