A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date in an expression



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2004, 05:13 PM
Kelly
external usenet poster
 
Posts: n/a
Default Date in an expression

Help! Driving myself crazy trying to write an expression
that will give me the value of a date from a table field +
seven days. I have rewitten this a thousand ways and
cannot get it to work. Any ideas?
  #2  
Old May 6th, 2004, 07:42 PM
external usenet poster
 
Posts: n/a
Default Date in an expression

dateadd("d",7,tablefld)
-----Original Message-----
Help! Driving myself crazy trying to write an expression
that will give me the value of a date from a table field

+
seven days. I have rewitten this a thousand ways and
cannot get it to work. Any ideas?
.

  #3  
Old May 7th, 2004, 04:27 AM
Graham R Seach
external usenet poster
 
Posts: n/a
Default Date in an expression

Kelly,

Date()+7

For example:
SELECT myDate+7 As NewDate FROM tblMyTable

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyT...764559036.html


"Kelly" wrote in message
...
Help! Driving myself crazy trying to write an expression
that will give me the value of a date from a table field +
seven days. I have rewitten this a thousand ways and
cannot get it to work. Any ideas?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.