Results 1 to 4 of 4

Thread: Creating Crystal Rpt from sql tables and accessing in vb6

  1. #1

    Thread Starter
    Hyperactive Member yousufkhan's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    492

    Creating Crystal Rpt from sql tables and accessing in vb6

    --------------------------------------------------------------------------------

    i have sql database i wanted create a report in crystal report 7 how should i access the sql tables in report i dont want use odbc datasource if i use odbc i ll have to always create some odbc connection at client site what is the other way for this so that when i call this report from vb 6 it should not say cannot open sql server

  2. #2
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: Creating Crystal Rpt from sql tables and accessing in vb6

    You first design it by sql server and then by code just pass the other information of sql server from code. But i would recommend you to use DSN , by this way if sql server db name changes , cr would update itsellf.
    Thanks and Regards,

    Muhammad Abbas

  3. #3

    Thread Starter
    Hyperactive Member yousufkhan's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    492

    Re: Creating Crystal Rpt from sql tables and accessing in vb6

    I ll design it in sql server using odbc but how to pass other informatin from vb
    coz it will ask for odbc connection otherwise it will give error cant open sql server.

  4. #4
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: Creating Crystal Rpt from sql tables and accessing in vb6

    U can pass other information from crystal report control. search for it u will find many code.
    Thanks and Regards,

    Muhammad Abbas

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