Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2003
    Location
    Moorpark, CA
    Posts
    104

    Unanswered: Between Function

    Hey again -

    Is it possible to use the between function with parameters but where if you enter nothing it pulls up all results?

    right now it reads Between [Start Date] and [End Date], but obviously if I don't put anything as the start and end it pulls up no results.

    Thanks for the help everyone! =)

  2. #2
    Join Date
    Apr 2002
    Location
    Portugal
    Posts
    146
    Hi,

    I don't know for sure, but i think not.

    You can use two diferent querys, and open the report with: if isnull() then... Else...

  3. #3
    Join Date
    Nov 2003
    Posts
    1,487
    Take a look at the NZ() function.



  4. #4
    Join Date
    Sep 2004
    Location
    Charlotte, NC
    Posts
    164
    Give this a shot in your criteria:

    Between CVDate(NZ([Start Date (MM/DD/YY)],0)) And CVDate(nz([End Date (MM/DD/YY)],999999))

    TD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •