Calculate a Time Value

C

casair

Hello,

I have a form with a text box in which a user enters a departure time.
In another text box I would like to caluclate the departure time less 30 mins.

Is this possible?

Thanks
 
B

Beetle

Add an unbound text box to your form and set it's control source to;

=DateAdd("n", -30, [DepartureTime])

substitute your actual field name for [DepartureTime]
 
C

casair

Beetle

Thankyou soooo much, this has frustrated me for months.
It work perfecly
--
casiar


Beetle said:
Add an unbound text box to your form and set it's control source to;

=DateAdd("n", -30, [DepartureTime])

substitute your actual field name for [DepartureTime]
--
_________

Sean Bailey


casair said:
Hello,

I have a form with a text box in which a user enters a departure time.
In another text box I would like to caluclate the departure time less 30 mins.

Is this possible?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top