Anyone know how to do this in access?

Soldato
Joined
17 Apr 2003
Posts
6,518
Location
hOme
hi guys

i need to have a field type as minutes and seconds, basically MM:SS, but it will only let me do HH:MM:SS, so when i put a song in thats 6 minutes 20 seconds long it assumes its 6 hours 20 minutes long

this is the last thing i have to do before i can get this damn project handed in, anyone got any ideas of how to sort it?
 
marc_howarth said:
this link may help

http://www.techonthenet.com/access/tables/format_date.php

basically in the format section just type nn:ss i would guess
Had a go at this too, but that doesn't seem to work, looks like Access just can't handle minutes and seconds without hours too.

If you use short time, does that not produce the same results as minutes and seconds? It's output as 06.20 either way. Add an appropriate input mask and that's all that will save.

Unless you're doing something that requires the data type to be set properly...
If it's for display/report purposes, I can't see it making a difference. If you have to do documentation just explain the difficulty. Or blag it and pretend NN:SS worked...*(Not recommended)
 
WolfR1der said:
Had a go at this too, but that doesn't seem to work, looks like Access just can't handle minutes and seconds without hours too.

If you use short time, does that not produce the same results as minutes and seconds? It's output as 06.20 either way. Add an appropriate input mask and that's all that will save.

Unless you're doing something that requires the data type to be set properly...
If it's for display/report purposes, I can't see it making a difference. If you have to do documentation just explain the difficulty. Or blag it and pretend NN:SS worked...*(Not recommended)

no calculations or anything are going to be done on it, so having hours there too isnt the end of the world, just it looks messy

i will mess around with an input mask
 
Back
Top Bottom