Results 1 to 3 of 3

Thread: how can i connect my crystal report to my database and tables?

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Philippines
    Posts
    49

    Question

    how can i connect my crystal report to my database and tables? what is my parameter in the "reportconnect" property of crystal report?

  2. #2
    Addicted Member
    Join Date
    Sep 1999
    Posts
    229


    I don't have the environment to test these two codes
    in this moment, but last time I had done these before.

    For Microsoft Access
    me.cr.ReportFileName = <report file name>
    me.cr.PrintReport

    For SQL Server
    me.cr.Connect = "ODBC;DSN=MyDSN;UID=admin;PWD=admin;Driver={SQL Server}"
    me.cr.PrintReport

    Hope it will help

    Regards
    Keiko


  3. #3
    Lively Member
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    113
    why dont you just connect to the database using crystal reports. If you a beginnr with crystal reports just use file new and start with a template that will ask whatr database you want to connect to
    You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width