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. Visual Basic
  4. Little problem in Crystal Reports

Little problem in Crystal Reports

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasesysadminhelp
3 Posts 3 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.
  • E Offline
    E Offline
    eshban284
    wrote on last edited by
    #1

    Hi, I make a small project in Vb.NET, it also have some crystal reports. The reports works well in my computer. But when I run my project on other computer, the reports cannot runs well. Actually it gives a dialog box and ask to Enter "Server name","Database Name", "Login ID", "PAssword" Why this happens when my project runs on other computer. Plz give me a possible solution. EsHbAn BaHaDuR

    R M 2 Replies Last reply
    0
    • E eshban284

      Hi, I make a small project in Vb.NET, it also have some crystal reports. The reports works well in my computer. But when I run my project on other computer, the reports cannot runs well. Actually it gives a dialog box and ask to Enter "Server name","Database Name", "Login ID", "PAssword" Why this happens when my project runs on other computer. Plz give me a possible solution. EsHbAn BaHaDuR

      R Offline
      R Offline
      Rizwan Bashir
      wrote on last edited by
      #2

      Use ODBC in Crystal reports for getting data and build ODBC on the Client side after installing the application. Will solve every thing

      1 Reply Last reply
      0
      • E eshban284

        Hi, I make a small project in Vb.NET, it also have some crystal reports. The reports works well in my computer. But when I run my project on other computer, the reports cannot runs well. Actually it gives a dialog box and ask to Enter "Server name","Database Name", "Login ID", "PAssword" Why this happens when my project runs on other computer. Plz give me a possible solution. EsHbAn BaHaDuR

        M Offline
        M Offline
        Mark06
        wrote on last edited by
        #3

        Gosh, I wasted alot of time playing around with this. An ODBC direct link is fine, as long as your data source doesnt change. eg: your software goes out to a customer, with different servername, database name, login, etc. You can program vb to change the the datasource information at runtime before the report loads. Thats gives you better customisation. Or alternately, as I have come to realise, do all your data selection in vb, and pass a dataset to CR instead. When designing the report, run your program quickly, but include a dataset.writeschema (c:\myschema.xsd) Then when you set the datasource for the report, choose xml. So much easier, neater programming, better maintainability. The selection criteria in CR becomes redundant (which is a blessing). Or... yeh, if its just 1 report in your office, odbc links are fine! :)

        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