Click here to Skip to main content
15,926,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: 2 month between now and date Pin
campbells21-Aug-06 15:13
campbells21-Aug-06 15:13 
yes i got it work.
is with the single quote '
thanks

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

i was trying to enchance it to let user to search their own specific month but it not really working when i place a varible with it. Is it not allow to put variable inside? Example:
----
Public userin

userin = InputBox("Search data (Month)", "How many month do you want to check before the expire date?")

WHERE [ContractEnd] BETWEEN NOW AND DATEADD('m', userin, NOW)
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 
GeneralRe: .Net 2.0 Books Pin
Dave Sexton21-Aug-06 20:44
Dave Sexton21-Aug-06 20:44 

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.