Hi all i am writing VB6 with Crystal 9. How can i write code in VB6 that request Crystal connect to the database SQL server) to get data ?? Please help thanks ?
This is all documented in the help files distributed with crystal reports, CrystalDevHelp.chm default location is C:\Program Files\Crystal Decisions\Crystal Reports 9\Developer Files\Help\En
You can also download samples from the Business Objects web site.
HTH
Gary Parker
Systems Support Analyst
Manchester, England
The below code is the Form1 load default form when you add the active x. I am using ADO to connect to SQL2000 you have to pass the password inorder for it to work.
Private Sub Form_Load()
Dim tmp, tmp1 As Integer
tmp = 348
tmp1 = 350
Screen.MousePointer = vbHourglass
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.