Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old June 27th, 2008, 08:26 PM
troy_lee@comcast.net
Guest
 
Posts: n/a
Default Date Range Variable

How do I define a variable as a date range?

Thanks in advance.

Troy Lee
  #2  
Old June 27th, 2008, 08:26 PM
Tom van Stiphout
Guest
 
Posts: n/a
Default Re: Date Range Variable

On Wed, 4 Jun 2008 11:31:18 -0700 (PDT), troy_lee@comcast.net wrote:

I'm not sure I understand. A date range implies two dates, so that
would take two variables:
dim dtFrom as Date
dim dtTo as Date

I guess you could create a UDT = User Defined Type and combine the two
variables.

-Tom.

Quote:
>How do I define a variable as a date range?
>
>Thanks in advance.
>
>Troy Lee
  #3  
Old June 27th, 2008, 08:26 PM
Roger
Guest
 
Posts: n/a
Default Re: Date Range Variable

On Jun 4, 12:31*pm, troy_...@comcast.net wrote:
Quote:
How do I define a variable as a date range?
>
Thanks in advance.
>
Troy Lee
dim strDate as string
strDate = "between #6/1/08# and #6/30/08#"
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles