Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding minutes to time 1

Status
Not open for further replies.

TudorSmith

Programmer
Jan 14, 2002
245
GB
Hi,

My report has three rows

Interview one, Start Time
Meeting two, Start time
Meeting three, Start time

I want to dictate the start time of the first interview, but then have the 2nd & 3rd bound ot the value of the first so....

I1 = [StartTime]
I2 = [StartTime] + 10
I3 = [StartTime] + 20

I tried : Hour([StartTime]) & ":" & Minute([StartTime]) + 10
but all I get is #Error

Any clues...or better still, got a routine that I can place int he Control Source for the field?

birklea


birklea ~©¿©~ <><
I know what I know...don't presume that I know what I don't! Smithism!!!
 
Try this:
Code:
I1  [StartTime]
I2  =DateAdd(&quot;n&quot;,10,[StartTime])
I3  =DateAdd(&quot;n&quot;,20,[StartTime])
Hope this helps....
 
Thanks CosmoKramer...worked a treat! birklea ~©¿©~ <><
I know what I know...don't presume that I know what I don't! Smithism!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top