PC Review


Reply
Thread Tools Rate Thread

Date Serial Problem

 
 
Aamer
Guest
Posts: n/a
 
      18th Dec 2009
I have a querry in which I am using the Date Serial in the querry criteria as
follows

Between DateSerial([Enter Year:],[Enter Month:],1) And DateSerial([Enter
Year:],[Enter Month:]+1,0)

the result i get is for a a perticular month in a year.

What I want is:

1. if i want to get the results between june to november 2009. how can i do
it?
2. If i want to get the restult of 2008 only e.g. from 01 Jan 2008 (or any
year) upto 31 December 2008. This should give result only for 1 year only.
not by months like from june 2008 to june 2009


Please help me fix this querry


Regards
Aamer



 
Reply With Quote
 
 
 
 
KARL DEWEY
Guest
Posts: n/a
 
      18th Dec 2009
The prompts have to be different like this --
Between DateSerial([Enter Start Year:],[Enter Start Month:],1) And
DateSerial([Enter End Year:],[Enter End Month:]+1,0)

--
Build a little, test a little.


"Aamer" wrote:

> I have a querry in which I am using the Date Serial in the querry criteria as
> follows
>
> Between DateSerial([Enter Year:],[Enter Month:],1) And DateSerial([Enter
> Year:],[Enter Month:]+1,0)
>
> the result i get is for a a perticular month in a year.
>
> What I want is:
>
> 1. if i want to get the results between june to november 2009. how can i do
> it?
> 2. If i want to get the restult of 2008 only e.g. from 01 Jan 2008 (or any
> year) upto 31 December 2008. This should give result only for 1 year only.
> not by months like from june 2008 to june 2009
>
>
> Please help me fix this querry
>
>
> Regards
> Aamer
>
>
>

 
Reply With Quote
 
Aamer
Guest
Posts: n/a
 
      18th Dec 2009
Thank You

"KARL DEWEY" wrote:

> The prompts have to be different like this --
> Between DateSerial([Enter Start Year:],[Enter Start Month:],1) And
> DateSerial([Enter End Year:],[Enter End Month:]+1,0)
>
> --
> Build a little, test a little.
>
>
> "Aamer" wrote:
>
> > I have a querry in which I am using the Date Serial in the querry criteria as
> > follows
> >
> > Between DateSerial([Enter Year:],[Enter Month:],1) And DateSerial([Enter
> > Year:],[Enter Month:]+1,0)
> >
> > the result i get is for a a perticular month in a year.
> >
> > What I want is:
> >
> > 1. if i want to get the results between june to november 2009. how can i do
> > it?
> > 2. If i want to get the restult of 2008 only e.g. from 01 Jan 2008 (or any
> > year) upto 31 December 2008. This should give result only for 1 year only.
> > not by months like from june 2008 to june 2009
> >
> >
> > Please help me fix this querry
> >
> >
> > Regards
> > Aamer
> >
> >
> >

 
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
Date Serial Problem sylink Microsoft Excel Programming 5 18th Feb 2008 11:54 AM
Date displays as serial number. Cannot format to display as date =?Utf-8?B?U3VubnlH?= Microsoft Excel Crashes 1 7th Mar 2006 02:32 PM
serial plotter on usb to serial converter problem bigbear Computer Hardware 3 25th Feb 2006 12:28 AM
How to convert Excel serial date into Access date format? RADO Microsoft Access 2 27th Dec 2003 12:14 PM
Serial date format displayed in combo box problem Rhema Microsoft Excel Misc 1 4th Nov 2003 01:10 AM


Features
 

Advertising
 

Newsgroups
 


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