running report in Crystal 8.5 via VB6 
Author Message
 running report in Crystal 8.5 via VB6

Hi
I run my report designed in Crysta 8.5 via VB 6 by
using .ocx on my form in VB,without any problem.
my DB is in SQL Server 2000 and when I connect with
sa login without any password it works correctly ,but
when I define a password and again want to run my report as the same way it
can't run,just it open a white
window and rapidly close it ,
(but in Crystal Report 8.5 enviroment I've no problem with
these 2 cases.)
How can I pass my password to "logonserver information" ?
can anybody help me?

Private Sub cmdprnt3_Click()

     followpath = "iaplanr.rpt"
     With CrystalReport1
       .WindowLeft = 0
       .WindowTop = 0
       .WindowState = crptMaximized
       .MarginLeft = 200
       .ReportFileName = app.path & "a.rpt"
       .ParameterFields(0) = "pplplan_year;" &         txtplplan_yer.Text &
";true"
       .WindowShowPrintSetupBtn = True
       .PrintReport
     End With
End Sub



Sun, 03 Jul 2005 13:00:27 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Crystal Reports 8.5 (VB6) to Crystal Reports NET (VB.NET) conversion

2. Running Crystal 8.5 Reports on Crystal 9 RAS

3. how can I transfer the report from Access2000 to crystal report 8.5 or VB6.0

4. vb .net crystal reports not compatible with Crystal Reports 8.5

5. Crystal 8.5 crashes when running a report that contain subreports multiple times in a row

6. Error when running crystal report (8.5) through VB 6

7. Crystal Reports 8.5 and VB6 - Passing parametere

8. Using Crystal 8.5 and VB6 -- need to get a list of fields available to the report

9. Crystal Reports 8.5, VB6 Problem

10. Crystal reports 8.5 and VB6 SP5

11. VB6 and Crystal Reports 8.5 - Help

12. VB6 and Crystal Reports 8.5

 

 
Powered by phpBB® Forum Software