Adding minutes to time based on selection

srburk

Registered User.
Local time
Yesterday, 23:38
Joined
Dec 31, 2002
Messages
32
My table, TblTYPE, will contain two field.
TYPE
DURATION

There will only be 7 records in this table:
FUS, 30 minutes
POS, 30 minutes
PRE, 30 minutes
NOV, 90 minutes
FUL, 90 minutes
ANN, 90 minutes
NPB, 60 minutes

1st question: How do I enter only minutes in the table for field 2?

------

I want the following to happen.
The end-user enters the start time and the type. As soon as the type is entered, field three calculates an end-time based on the start time and the type. When the type is entered, the minutes listed in field two of the type table are added to the start time (giving you an end time).

Can anyone help me?
1.) How to properly format the minutes in the original table.
2.) How to add the minutes to the original time in a query.

Thanks!
Scott
 
Set the minutes field to a Number and only put 30, 60 90 etc. into it and not "30 minutes".

For the other part of your question, lookup the DateAdd() function.
 
this worked... thanks!
 

Users who are viewing this thread

Back
Top Bottom