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 Reports API Problem

Crystal Reports API Problem

Scheduled Pinned Locked Moved C / C++ / MFC
databasesql-serveroraclesysadminjson
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.
  • R Offline
    R Offline
    Rahim Rattani
    wrote on last edited by
    #1

    I am working on an applicaiton that needs to support different databases. I created the reports using SQL Server as the database, and for others i am setting the databse information and table locations from the code. Now in some of the reports i have got subreports, having parameters mapping to the fields in the main report. Since the parameter is defined with an '@Parameter' in sql server and ad 'Parameter (no @)' in oracle for stored procedures I had to change the name of the parameters from code too. This is working ok. Now the problem is that I had to modify the links accroding to the new parameter field names. but the problem is that i am unable to retrieve the mapping field names of the subreport. There is a call available as ISubreportLinkPtr->MainReportField->GetName ISubreportLinkPtr->SubreportField->GetName The main report one return the correct name of the field in the main report but the subreport one always returns the first database field instead of the actual mapping field. Anyone got any idea please reply quick. Thanx. Rahim Rattani Software Engineer, Matrix Systems (Pvt) Ltd., Karachi - Pakistan

    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