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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Crystal Report

Crystal Report

Scheduled Pinned Locked Moved Visual Basic
questiondatabase
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.
  • M Offline
    M Offline
    msleem
    wrote on last edited by
    #1

    I make a project by VB with Crestal Report it is good and working good but when i change the project place to another it works but the reports give false values it seams to be there is a link between the crystal and the database so I must chang the link when I change the project place after I doing that the project after changing its place works by good reports the question : is there any way (code way) to change the link between crystal and database without opening evry report and instead of change it manually?????????????

    soly

    K 1 Reply Last reply
    0
    • M msleem

      I make a project by VB with Crestal Report it is good and working good but when i change the project place to another it works but the reports give false values it seams to be there is a link between the crystal and the database so I must chang the link when I change the project place after I doing that the project after changing its place works by good reports the question : is there any way (code way) to change the link between crystal and database without opening evry report and instead of change it manually?????????????

      soly

      K Offline
      K Offline
      Kschuler
      wrote on last edited by
      #2

      I don't know if I understand your question, but I believe you are saying this: You have a crystal report at location X and it's set to work with a database at location X. Then you make a copy/move your crystal report to location Y and it doesn't work because it is still pointing to the database at location X (not the copy/moved version at location Y). And each time you move/copy things you have to open the crystal report and edit it to point to the new location. Unfortunately I don't know how to work around this. I mean, in code you can set a crystal report's datasource to a datatable object (which you can program to get from any database at any location) like this: reportDocument1.SetDataSource(dtMyDataTable) as long as the datatable parameter matches what you used to design the crystal report this works. ...but if you are talking about moving whole projects I don't know how to help you. Sorry.

      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