Results 1 to 5 of 5

Thread: [RESOLVED] passing this Recordselectionformula gives me an error

  1. #1

    Thread Starter
    PowerPoster Nitesh's Avatar
    Join Date
    Mar 2007
    Location
    Death Valley
    Posts
    2,556

    Resolved [RESOLVED] passing this Recordselectionformula gives me an error

    Hi Guys,

    I'm passing this to the recordselectionformula:

    Code:
    ({Command.ipkcompanyid} IN(462,463))
    and I get an error saying: The ) is missing. Please help.

    I'm using Crystal XI and VB6

  2. #2
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: passing this Recordselectionformula gives me an error

    Try
    Code:
    {Command.ipkcompanyid} IN [462,463]

  3. #3

    Thread Starter
    PowerPoster Nitesh's Avatar
    Join Date
    Mar 2007
    Location
    Death Valley
    Posts
    2,556

    Re: passing this Recordselectionformula gives me an error

    Wow,

    Thanks alot VBFnewcomer. It works great. Please explain to me why my method wasn't working. I sat with this for half the day . Thank you so much.

  4. #4
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: passing this Recordselectionformula gives me an error

    nothing great about it. click Report->Select Expert... you should find a small window with two combos open up. Click the left one you should find "is one of " select it. Now the Right combo should list all the values from the db, click one by one (as reqd). Now click on Show Formula... your answer is there. Just a syntax problem. The list needed a [] brackets.

  5. #5

    Thread Starter
    PowerPoster Nitesh's Avatar
    Join Date
    Mar 2007
    Location
    Death Valley
    Posts
    2,556

    Re: passing this Recordselectionformula gives me an error

    I dont get those combo's that you are referring to. Doesn't matter though. Thanks again.

    Oh ok, I found it. Cool
    Last edited by Nitesh; Feb 11th, 2008 at 07:08 AM.

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