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. C#
  4. Crystal reports, Dynamic parameter values not showing up , Static works fine

Crystal reports, Dynamic parameter values not showing up , Static works fine

Scheduled Pinned Locked Moved C#
csharphelpquestiondatabasevisual-studio
1 Posts 1 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.
  • C Offline
    C Offline
    c0ax_lx
    wrote on last edited by
    #1

    Hi. i have a problem which i just cannot solve. i have created a crystal report with dynamic parameters , values are fetched from the database. it works fine when i run the report inside crystal reports 2008. but when i run the report in my software, visual studio 2005, C# (with crystal reports 2008 offcourse) i cannot get the list of values. if i add a static list of values it shows up just fine. so this: foreach ( ParameterField pf in m_ReportDocument.ParameterFields) { MessageBox.Show(pf.DefaultValues.Count.ToString()); } shows "5" if i add five static values, but "0" if i add dynamic values. Any suggestions? m_reportdocument is a crystal report document. the rtp is loaded and datasources are set. I've tried googling and searching business objects forums. i have seen the question but no replies. Cheers // Tomas

    If it' stuck, DO NOT pull harder!

    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