Using CR V8.5, VB 6, OCX.
I'm trying to retrieve data from a CR with a data range that is specified by a user on a VB form. It works, finally; however, I'm still not getting all of my data back unless I manually go into CR and refresh the data. I've tried going to Report Options under the File Menu and unchecking Save Data with Report. When I run the report after unchecking this, I get Run-Time error '20599', cannot open SQL server.
I've also tried discarding the saved data with this:
frmMain.crptTCHistory.DiscardSavedData = True
But, I get the same Run-Time Error.
Any help is appreciated.
Thank you.
I'm trying to retrieve data from a CR with a data range that is specified by a user on a VB form. It works, finally; however, I'm still not getting all of my data back unless I manually go into CR and refresh the data. I've tried going to Report Options under the File Menu and unchecking Save Data with Report. When I run the report after unchecking this, I get Run-Time error '20599', cannot open SQL server.
I've also tried discarding the saved data with this:
frmMain.crptTCHistory.DiscardSavedData = True
But, I get the same Run-Time Error.
Any help is appreciated.
Thank you.