MS Access convert short time in form to decimal time in table -


i have access database form contains "processtime" field, format hh:nn , input mask 00:00. i've got part working fine. in control source on associated table, however, processtime field/column appear decimal minutes. haven't been able figure out how that.

for example, user might enter processtime in form 01:30, meaning 1 hour , 30 minutes. associated value in table appear 1.5, meaning 1 , half hours.

how can go modifying processtime field in table show time in decimal hours? had assumed there simple "decimal time" format enter processtime field in design view, haven't found 1 yet.

i'm using ms access 2013.

there no intrinsic format or conversion function this. don't modify field. calculation in query or textbox.

[processtime] date/time type? following expression work date/time or text type. hour([processtime]) + minute([processtime])/60


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -