I have backed what I am trying to do down to it's simplest form to try and get a Crystal Report to show.
We are running WIN NT4.0, VB6, I have only a single Crystal Control , a Single Text Box, and 1 Command Button on my form.
The code is simply this:
Private Sub Command1_Click()
Dim Start As String
Start = txtFromdate
CrystalReport1.ReportFileName = "G:\CITECT\Reports\Citect Oracle\Thickner_flows.rpt"
CrystalReport1.ParameterFields(0) = "START;" & Start & ";True"
CrystalReport1.Connect = "PWD = REPORTS"
CrystalReport1.PrintReport
End Sub
I Publish the project, place it on a network drive. If I run it from my machine it works great. If I go and log onto another machine. The Crystal Report flashes on the screen, but does not run.(the Crystal Control set to Print to Screen). I do not get any errors.
I included the Crystl32.ocx file when I published the project.
The machine that I tried this on has Crystal Reports Loaded, but unlike mine it does not have VB loaded.
Can anyone point me in a direction to start in?
Thanks
CurtR
We are running WIN NT4.0, VB6, I have only a single Crystal Control , a Single Text Box, and 1 Command Button on my form.
The code is simply this:
Private Sub Command1_Click()
Dim Start As String
Start = txtFromdate
CrystalReport1.ReportFileName = "G:\CITECT\Reports\Citect Oracle\Thickner_flows.rpt"
CrystalReport1.ParameterFields(0) = "START;" & Start & ";True"
CrystalReport1.Connect = "PWD = REPORTS"
CrystalReport1.PrintReport
End Sub
I Publish the project, place it on a network drive. If I run it from my machine it works great. If I go and log onto another machine. The Crystal Report flashes on the screen, but does not run.(the Crystal Control set to Print to Screen). I do not get any errors.
I included the Crystl32.ocx file when I published the project.
The machine that I tried this on has Crystal Reports Loaded, but unlike mine it does not have VB loaded.
Can anyone point me in a direction to start in?
Thanks
CurtR