Results 1 to 3 of 3

Thread: CrystalReports

  1. #1
    Guest

    Post

    i am getting an error when i use the following code

    Dim x as date
    ExDate = InputBox("Enter The Expiry Date")
    x = CDate(ExDate)
    CrystalReport.SelectionFormula = " month({qdefCredOIAPRep.EnteredDate})>0 and {qdefCredOIAPRep.EnteredDate}> x "

    can anyone tell me the problem..please need help

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163

    Post

    What line causes the error ? and what type of error are you getting ?

  3. #3
    Guest

    Post


    What line causes the error ? and what type of error are you getting ?

    CrystalReport.SelectionFormula = " month({qdefCredOIAPRep.EnteredDate}) > 0 and {qdefCredOIAPRep.EnteredDate} > x "
    CrystalReport.Action = 1

    the error message is "error in the formula"
    Edited by carlisle on 02-24-2000 at 06:21 PM

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