PC Review


Reply
Thread Tools Rate Thread

Add by months

 
 
James
Guest
Posts: n/a
 
      21st Apr 2009
This is what i have
SELECT Monthly.Service, [Date Serviced],[Monthly]![Date Serviced]+30 AS
[Service Due]
In stead of add the month as (30 days), is there a way i can just add a month?
Any help would be appreciated,
Thanks,
Your Pal
James
 
Reply With Quote
 
 
 
 
fredg
Guest
Posts: n/a
 
      21st Apr 2009
On Tue, 21 Apr 2009 14:15:01 -0700, James wrote:

> This is what i have
> SELECT Monthly.Service, [Date Serviced],[Monthly]![Date Serviced]+30 AS
> [Service Due]
> In stead of add the month as (30 days), is there a way i can just add a month?
> Any help would be appreciated,
> Thanks,
> Your Pal
> James



Look up the DateAdd function in VBA help.

SELECT Monthly.Service, [Date Serviced],DateAdd("m",1,[Monthly]![Date
Serviced]) AS [Service Due]

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 
Reply With Quote
 
James
Guest
Posts: n/a
 
      21st Apr 2009
Thanks fredg you're a real pal!

"fredg" wrote:

> On Tue, 21 Apr 2009 14:15:01 -0700, James wrote:
>
> > This is what i have
> > SELECT Monthly.Service, [Date Serviced],[Monthly]![Date Serviced]+30 AS
> > [Service Due]
> > In stead of add the month as (30 days), is there a way i can just add a month?
> > Any help would be appreciated,
> > Thanks,
> > Your Pal
> > James

>
>
> Look up the DateAdd function in VBA help.
>
> SELECT Monthly.Service, [Date Serviced],DateAdd("m",1,[Monthly]![Date
> Serviced]) AS [Service Due]
>
> --
> Fred
> Please respond only to this newsgroup.
> I do not reply to personal e-mail
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I convert a number into years and months if the numberrepresents months? Kate Microsoft Excel Discussion 5 8th Mar 2011 10:49 PM
Show previous months reading on new months record =?Utf-8?B?R2FiYnkgR2lybA==?= Microsoft Access Forms 4 30th Sep 2007 05:15 AM
Free/busy publishing shows 2 months but configured for 12 months =?Utf-8?B?UiBFIEE=?= Microsoft Outlook Discussion 7 7th Mar 2007 11:40 AM
Re: Beta tester--Agressive means 13 months and 12 months Mark D. VandenBerg Windows Vista General Discussion 1 25th Jul 2006 10:43 PM
outlook keeps downloading messages going back months and months =?Utf-8?B?bWFpdmluYQ==?= Microsoft Outlook Discussion 2 9th Mar 2006 02:39 AM


Features
 

Advertising
 

Newsgroups
 


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