Re: Format a field for Time, but as duration?



Matt

Access offers the Date/Time datatype, which ONLY stores point-in-time data.

To handle hours & minutes (and seconds and ...), you'll have to "roll your
own". You can use a combination of fields ([HoursField], [MinutesField],
....) and/or you can use a "lowest unit of measure" approach ("enter the
total number of minutes") and parse it into hours/etc. for display purposes.

Check the mvps.org/access website for additional ideas.

Good luck

Jeff Boyce
<Access MVP>

"Matt D Francis" <MattDFrancis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:363FD88E-44CC-444F-B989-418971176DB2@xxxxxxxxxxxxxxxx
> Hi,
>
> I have a field in a table where users enter the time a task took. This is
> entered in minutes, such as 90 minutes (1hr 30mins)
>
> The field is currently a Number field which works but I can see that will
> cause problems when we come to analyse the data and need to total the
> hours
> and minutes.
>
> What is the best way to format the field in the tabel so that the data
> will
> actually be held in hours and minutes (but not time of day) and can
> therefore
> be used to summarise without adding calculations to it?


.



Relevant Pages

  • Re: Hostages Rescued. Liberals Will Be Outraged.
    ... transmitting rage. ... It's just a shame, however, that the group could not bring themselves to ... can read the group's website announcement here: ... And parse it as carefully as you might, you will not read one word ...
    (rec.sport.football.college)
  • which JAR to use ?
    ... i am looking for a third party JAR + API which will help me... ... though i can use HttpURLConnection class and send params to the website ... and parse the result, but this is tedious and i want to avoid this. ...
    (comp.lang.java.programmer)
  • Re: Hostages Rescued. Liberals Will Be Outraged.
    ... transmitting rage. ... It's just a shame, however, that the group could not bring themselves to ... can read the group's website announcement here: ... And parse it as carefully as you might, you will not read one word ...
    (rec.sport.football.college)
  • Re: Regular Exception - problem with preg match
    ... kuka8 wrote: ... > I need to parse a website, but I have a problem with preg_match ... Prev by Date: ...
    (php.general)