Results 1 to 3 of 3

Thread: Crystal Reports 10.2 Is the Between Operator valid?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Crystal Reports 10.2 Is the Between Operator valid?

    Is this a valid statement for Crystal Reports 10.2???

    Code:
    ({tblTimeSheetDetail.monDate} BETWEEN '5/7/2007' AND '5/20/2007' AND {tblTimeSheetDetail.sunDate} = '5/20/2007') AND {tblTimeSheetDetail.project} > ''
    Blake

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Crystal Reports 10.2 Is the Between Operator valid?

    No.

    Crystal has several Range functions. The syntax of a range that includes the end points is

    {FieldName} In X To Y

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: Crystal Reports 10.2 Is the Between Operator valid?

    So would this be correct?

    Code:
    ({tblTimeSheetDetail.monDate} IN '5/7/2007' TO '5/20/2007' AND {tblTimeSheetDetail.sunDate
    Blake

Posting Permissions

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



Click Here to Expand Forum to Full Width