Results 1 to 2 of 2

Thread: Very basic question

  1. #1

    Thread Starter
    Lively Member sinchan's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    106

    Very basic question

    May be this should very basic question for all of you, but I can't solve the same.

    I want to connect Visual Basic to crystal report. Is it compulsory to create user dsn to connect the Crystal Report.

    Now I am using this code

    Report.Connect="DSN=DSN_BillingInv;UID=admin;Pwd=abcd"
    i love VB more than BV(means wife in our language)

  2. #2
    Hyperactive Member dRAMmer's Avatar
    Join Date
    Oct 2001
    Location
    strangelans
    Posts
    463
    what's ur problem here bro? ya, u should use DSN to connect, f ur having problem connecting to a DBServer then try this

    Report.Connect="DSN=DSN_BillingInv;UID=admin;Pwd=abcd;[COLOR=red]DSQ=DBName"
    live, code and die...

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