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 / C++ / MFC
  4. Crystal Report 10 add parameter

Crystal Report 10 add parameter

Scheduled Pinned Locked Moved C / C++ / MFC
c++dotnettutorial
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.
  • A Offline
    A Offline
    AkiraOne
    wrote on last edited by
    #1

    There is some good spirit that knows the correct way to pass the parameters to a report I explain myself better.... I have created the following objects: . . . . try { // Creazione istanza m_pApplication.CreateInstance("CrystalRuntime.Application"); // Apro il report m_pReport = m_pApplication->OpenReport((LPCTSTR)m_sFileRpt); // Lista parametri report IParameterFieldDefinitionsPtr pParamFieldDefinitions = m_pReport->GetParameterFields(); LONG lCount = pParamFieldDefinitions->GetCount(); // Ciclo sui parametri del report for(LONG lItem = 1; lItem <= lCount; lItem++) { // Puntatore oggetto parametro IParameterFieldDefinitionPtr pParamFieldDefinition = pParamFieldDefinitions->GetItem(lItem); . . . . I am successful to read the parameters set up in the report but not to save them...any example in the net is in VB but not in VC++.. DateTime param or Other correctly... Thanks in advance..

    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