Hi there !)
Using CR8.5 in VB 6.0 connecting to a SQL SERVER 2000...
Just a little report taking data from a view. I use the CR8.5 standalone designer to design : execute without any problem.
In VB, I insert a CR component using 'existing report'... works... from time to time...
I try to pass parameter like this :
Set CrxReport = crxApplication.OpenReport(App.Path & "\dossier.Rpt"
CrxReport.ParameterFields.GetItemByName("Annee"
.AddCurrentValue "2003"
CRViewer1.ReportSource = CrxReport
CRViewer1.ViewReport
and at this last line, always get a 'server has not been opened yet' message...
AAAAAAAArrrrrrrrrggggggggghhhhhhhhhh... Tried almost everything, what do i missed ?
TIA for a reply and have a nice day !)
Luc
Using CR8.5 in VB 6.0 connecting to a SQL SERVER 2000...
Just a little report taking data from a view. I use the CR8.5 standalone designer to design : execute without any problem.
In VB, I insert a CR component using 'existing report'... works... from time to time...
I try to pass parameter like this :
Set CrxReport = crxApplication.OpenReport(App.Path & "\dossier.Rpt"
CrxReport.ParameterFields.GetItemByName("Annee"
CRViewer1.ReportSource = CrxReport
CRViewer1.ViewReport
and at this last line, always get a 'server has not been opened yet' message...
AAAAAAAArrrrrrrrrggggggggghhhhhhhhhh... Tried almost everything, what do i missed ?
TIA for a reply and have a nice day !)
Luc