Click here to Skip to main content
15,900,364 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: 2 month between now and date Pin
Keith Malwitz20-Aug-06 16:17
Keith Malwitz20-Aug-06 16:17 
GeneralRe: 2 month between now and date [modified] Pin
campbells20-Aug-06 17:41
campbells20-Aug-06 17:41 
GeneralRe: 2 month between now and date Pin
Keith Malwitz20-Aug-06 18:32
Keith Malwitz20-Aug-06 18:32 
GeneralRe: 2 month between now and date Pin
campbells20-Aug-06 19:48
campbells20-Aug-06 19:48 
AnswerRe: 2 month between now and date Pin
Guffa20-Aug-06 21:47
Guffa20-Aug-06 21:47 
GeneralRe: 2 month between now and date Pin
campbells20-Aug-06 22:15
campbells20-Aug-06 22:15 
AnswerRe: 2 month between now and date Pin
Guffa20-Aug-06 23:14
Guffa20-Aug-06 23:14 
GeneralRe: 2 month between now and date [modified] Pin
Keith Malwitz21-Aug-06 2:07
Keith Malwitz21-Aug-06 2:07 
Ok, since you want to return the data where [ContractEnd] is between today's date and two months from today's date, the where clause would be:

WHERE [ContractEnd] BETWEEN NOW AND DATEADD("m", 2, NOW)

I am relying on guffa's post for the Access syntax here, as I haven't used Access in many years. This should return all the records from your table where the [ContractEnd] falls between today's date and two months from today's date.

Hope this helps.


-- modified at 8:08 Monday 21st August, 2006
GeneralRe: 2 month between now and date Pin
campbells21-Aug-06 15:13
campbells21-Aug-06 15:13 
GeneralRe: 2 month between now and date Pin
Keith Malwitz21-Aug-06 15:19
Keith Malwitz21-Aug-06 15:19 
GeneralRe: 2 month between now and date Pin
campbells21-Aug-06 15:58
campbells21-Aug-06 15:58 
GeneralRe: 2 month between now and date [modified] Pin
Keith Malwitz21-Aug-06 16:25
Keith Malwitz21-Aug-06 16:25 
GeneralRe: 2 month between now and date Pin
campbells21-Aug-06 16:30
campbells21-Aug-06 16:30 
Questionexecuting problem Pin
tsrao_5520-Aug-06 8:43
tsrao_5520-Aug-06 8:43 
AnswerRe: executing problem Pin
Dave Kreskowiak20-Aug-06 9:12
mveDave Kreskowiak20-Aug-06 9:12 
AnswerRe: executing problem Pin
Colin Angus Mackay20-Aug-06 10:56
Colin Angus Mackay20-Aug-06 10:56 
QuestionRe: executing problem Pin
tsrao_5521-Aug-06 9:54
tsrao_5521-Aug-06 9:54 
AnswerRe: executing problem [modified] Pin
Dave Kreskowiak21-Aug-06 9:58
mveDave Kreskowiak21-Aug-06 9:58 
Question.Net 2.0 Books [modified] Pin
Stephen McGuire20-Aug-06 7:16
Stephen McGuire20-Aug-06 7:16 
AnswerRe: .Net 2.0 Books Pin
Kevin McFarlane20-Aug-06 10:04
Kevin McFarlane20-Aug-06 10:04 
GeneralRe: .Net 2.0 Books Pin
Stephen McGuire20-Aug-06 11:13
Stephen McGuire20-Aug-06 11:13 
GeneralRe: .Net 2.0 Books Pin
Kevin McFarlane20-Aug-06 11:58
Kevin McFarlane20-Aug-06 11:58 
GeneralRe: .Net 2.0 Books Pin
Stephen McGuire21-Aug-06 11:27
Stephen McGuire21-Aug-06 11:27 
GeneralRe: .Net 2.0 Books Pin
Dave Sexton21-Aug-06 1:01
Dave Sexton21-Aug-06 1:01 
GeneralRe: .Net 2.0 Books Pin
Stephen McGuire21-Aug-06 11:37
Stephen McGuire21-Aug-06 11:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.