Okay. Thanks Judith ----- Original Message ----- From: "Jim Pettit" <jimpettit@xxxxxxxxx> To: <mso@xxxxxxxxxxxxx> Sent: Friday, August 12, 2005 1:10 PM Subject: [mso] Re: Access subtracting hours/minutes/seconds > Judith-- > > Because of the special way Access stores date/time data, to properly > calculate based in such fields you should use the easy-to-understand > DateAdd > and DateDiff functions; you can find information on both in Access help. > > --Jim > > -----Original Message----- > From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf > Of Judith Fandrich > Sent: Thursday, August 11, 2005 13:14 PM > To: mso@xxxxxxxxxxxxx > Subject: [mso] Access subtracting hours/minutes/seconds > > Hi all! > I have a StartTime, EndTime and a Length. StartTime and EndTime record > hours > minutes and seconds. Length gets the answer as set up > =[EndTime]-[StartTime]. It only works when there are numbers in the > minutes > and/or seconds but when there is a number in the hours it does not sutract > correctly. > I would really appreciate some help on this one. > Sorry to be so wordy. > Judith > ************************************************************* > You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or > MicrosoftOffice@xxxxxxxxxxxxxxxx > > To send mail to the group, simply address it to mso@xxxxxxxxxxxxx > > To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx > with the word "unsubscribe" (without the quotes) in the subject line. > > Or, visit the group's homepage and use the dropdown menu. This will also > allow you to change your email settings to digest or vacation (no mail). > //www.freelists.org/webpage/mso > > To be able to use the files section for sharing files with the group, send > a > request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation > with instructions. Once you are a member of the files group, you can go > here to upload/download files: > http://www.smartgroups.com/vault/msofiles > ************************************************************* > > ************************************************************* > You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or > MicrosoftOffice@xxxxxxxxxxxxxxxx > > To send mail to the group, simply address it to mso@xxxxxxxxxxxxx > > To Unsubscribe from this group, send an email to > mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) > in the subject line. > > Or, visit the group's homepage and use the dropdown menu. This will also > allow you to change your email settings to digest or vacation (no mail). > //www.freelists.org/webpage/mso > > To be able to use the files section for sharing files with the group, send > a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an > invitation with instructions. Once you are a member of the files group, > you can go here to upload/download files: > http://www.smartgroups.com/vault/msofiles > ************************************************************* > ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************