Question : Need to add Numeric Field representing Hours and Minutes

I am pulling data from another table and at a loss at how to add the field correctly.
It is called "Duration" representing the duration of the session each person might be seeing a patient.  The results are in the format of 1, .3, .05, or 1.3 representing one hour, thirty minutes, five minutes and ninety minutes respectively.  The field is numeric and cannot be changed.  It is the difference of the Start Time and End Time (both of which are stored as numberic values for some odd reason).  The problem is that I cannot figure out a way to either convert all of the above into minutes to add them nor can I add them as is to get an accurate total.

I am attempting to get a total number of hours spend in sessions per month per person from the database.  The total preferrably needs to remain in hours.  Any suggestions would be helpful because I am at a loss.

Answer : Need to add Numeric Field representing Hours and Minutes

JadBrad,

I am attaching a sample database file to this post.  Open the one query in design view and you'll see exactly how it's done.  I had to tweek my example a little because it would only have handled appts under 2 hours.  Now it handles any length of appt.  This is exactly how you would copy it into your own access query:

TimeConversion_Minutes: CDbl(IIf([Duration]<1 And Len([Duration])=3,Mid([Duration],2),IIf([Duration]<1 And Len([Duration])=2,Mid([Duration],2) & 0,IIf(Len([Duration])=1,[Duration]*60,IIf([Duration]>1 And Len([Duration])=3,(Mid([Duration],3) & 0)+(Left([Duration],1)*60),IIf([Duration]>1 And Len([Duration])=4,(Mid([Duration],3))+(Left([Duration],1)*60)))))))

or you can look at column three of the query called qryDurations in the attached file.

However ... although my idea works fine, Dales example is a work of art.  He figured it out with one short equation.  You would copy it into your own query like this:

Duration_Minutes: Int([Duration])*60+([Duration]-Int([Duration]))*100

or you can look at column four of the query called qryDurations in the attached file.

We've given you the exact solution, so hopefully you can look at the attached example and make one of them work.  If you can't get either of them to work for you, there must be something else going on.  You'll have to attach your file so I can have a look at it.
 
Durations Query Conversion Example
 
Random Solutions  
 
programming4us programming4us