Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. help in Crystal reports to pass multilple ID's for selection

help in Crystal reports to pass multilple ID's for selection

Scheduled Pinned Locked Moved Visual Basic
helpdatabase
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sachin Gokhale
    wrote on last edited by
    #1

    Well hi everyone, I have a problem with crystal reports... the record selection formula in crystal reports helps to retieve a single row from the database (depending on the ID passed) Now the problem is if have a selection criteria which demands to retrieve data from the databse for more than one ID so how will i pass multiple ID for selecting multiple row...please help.. Eg. my selection crieria wud be prjID = 1 record selection formula wud be = 1 now if my selection criteria prjID = 1 and 4 and 6 and 9 hw ud i do it... Sachin G. worrin bout losin keeps me WINNING

    S 1 Reply Last reply
    0
    • S Sachin Gokhale

      Well hi everyone, I have a problem with crystal reports... the record selection formula in crystal reports helps to retieve a single row from the database (depending on the ID passed) Now the problem is if have a selection criteria which demands to retrieve data from the databse for more than one ID so how will i pass multiple ID for selecting multiple row...please help.. Eg. my selection crieria wud be prjID = 1 record selection formula wud be = 1 now if my selection criteria prjID = 1 and 4 and 6 and 9 hw ud i do it... Sachin G. worrin bout losin keeps me WINNING

      S Offline
      S Offline
      Shoaib Hussain
      wrote on last edited by
      #2

      im using this formula in my current working report {Project.ProjectID} = 1 or {Project.ProjectID} = 2 or {Project.ProjectID} = 3 TRY IT.................

      -<>-shoaib-<>-

      S 1 Reply Last reply
      0
      • S Shoaib Hussain

        im using this formula in my current working report {Project.ProjectID} = 1 or {Project.ProjectID} = 2 or {Project.ProjectID} = 3 TRY IT.................

        -<>-shoaib-<>-

        S Offline
        S Offline
        Sachin Gokhale
        wrote on last edited by
        #3

        Ya thanks... but i tried it it doesn't works.... i tried with the OR condition.. still it is retrieving single row.. also i tried with AND condition and the report goes blank.... Please can u suggest any other alternative.... Sachin G.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups