PDA

Click to See Complete Forum and Search --> : Very basic question


sinchan
Mar 9th, 2004, 11:23 AM
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"

dRAMmer
Mar 9th, 2004, 09:57 PM
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"