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. Web Development
  3. ASP.NET
  4. Crystal report parameterfield

Crystal report parameterfield

Scheduled Pinned Locked Moved ASP.NET
help
2 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.
  • H Offline
    H Offline
    HowRU
    wrote on last edited by
    #1

    Hi , I am working on crystal report on web form..I am passing parameter to report for that I had a code as follows.... ParameterFields parameterFields = new ParameterFields(); ParameterField parameterField = new ParameterField(); parameterField.ParameterFieldName = "DeliveryDate"; ParameterDiscreteValue dv = new ParameterDiscreteValue(); dv.Value = DateTime.Today; parameterField.CurrentValues.Add(dv); this.parameterFields.Add(parameterField); Proble in this is instead of " parameterField.CurrentValues.Add(dv); " I am not getting the property of parameterfield as CurrentValues instead there comes.... " parameterField.get_CurrentValues; " & it's not working.....so can anybody help me to get the Currentvalues property for the parameterfield. In my project I added the referece as ... using CrystalDecisions.CrystalReports.Engine ; using CrystalDecisions.Shared; using CrystalDecisions.CrystalReports; still it is not giving that property.... plz help me... Thanks..

    D 1 Reply Last reply
    0
    • H HowRU

      Hi , I am working on crystal report on web form..I am passing parameter to report for that I had a code as follows.... ParameterFields parameterFields = new ParameterFields(); ParameterField parameterField = new ParameterField(); parameterField.ParameterFieldName = "DeliveryDate"; ParameterDiscreteValue dv = new ParameterDiscreteValue(); dv.Value = DateTime.Today; parameterField.CurrentValues.Add(dv); this.parameterFields.Add(parameterField); Proble in this is instead of " parameterField.CurrentValues.Add(dv); " I am not getting the property of parameterfield as CurrentValues instead there comes.... " parameterField.get_CurrentValues; " & it's not working.....so can anybody help me to get the Currentvalues property for the parameterfield. In my project I added the referece as ... using CrystalDecisions.CrystalReports.Engine ; using CrystalDecisions.Shared; using CrystalDecisions.CrystalReports; still it is not giving that property.... plz help me... Thanks..

      D Offline
      D Offline
      dashingdracula
      wrote on last edited by
      #2

      Regarding the refresh button there are two ways which i think they arr good 1. I think there is no need for clearing the controls after searching if searching not found than the user will take another choice. like as google .google works like this so do it in this way 2.i u really want that if searching not found than u can use this function in the search button click event.and u can show like this that this emplyee not found (display name). thanks vishwa

      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