Adding 15 minutes 
Author Message
 Adding 15 minutes


Quote:

>anyone know how to add 15 minutes to a field in a form?

James

You can use the DateAdd function:

Private Sub Command3_Click()
    Me!DateField = DateAdd("n", 15, Me!DateField)
End Sub

Jon

Access tips & tricks - http://www.*-*-*.com/
Microsoft Access webring - http://www.*-*-*.com/



Sun, 27 Jun 2004 00:29:01 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Programmaticaly sending mail after only 15 minutes

2. Gung ho newbie - stuck at # 3 on the MVP - VBA basics in 15 minutes

3. How to schedule a service to poll every 15 minutes

4. Demented thought of the hour (or is it every 15 minutes) >(;-)

5. Timer for 15 Minutes?

6. script than will run every 15 minutes

7. Report takes 15 minutes to print from VB 5.0 app

8. slow VB6 application after inactive 15-20 minutes

9. Finding a missing library reference takes 15 minutes!!! MS says it works as designed!!

10. How do I schedule an event to take place every 15 to 20 minutes in VB.NET

11. Help! 15 minutes to execute 1 query!

 

 
Powered by phpBB® Forum Software