I've set up a .rpt in the CR version packaged with VB 6. I had a bit of a problem adding the Access 2000 database. When I tried to add it as a Data File in CR, it kept requesting a password, but no password was set on the database. I finally added it as a SQL/ODBC. I'm hoping this isn't the root of my problem in VB.
Within my VB program, I open and close several recordests from the database using ADO. Don't think this is important, butjust to give as much background as possible... I've added the CR control and set the properties - ReportFileName, Destination to window, PrintFileType as crptRecord. I've coded Response = ReportName.PrintReport on a button click, and it wasn't doing anything. I added a msgbox to display if the Response <> 0, and I've grown weary of seeing that msgbox pop up now. I had it printing to the window a few days ago, but now it won't.
Am I a complete idiot or what? And I haven't even tried to pass any date paramters in yet. If anybody has any ideas, I'm feeling pretty desperate!
Cathy
Within my VB program, I open and close several recordests from the database using ADO. Don't think this is important, butjust to give as much background as possible... I've added the CR control and set the properties - ReportFileName, Destination to window, PrintFileType as crptRecord. I've coded Response = ReportName.PrintReport on a button click, and it wasn't doing anything. I added a msgbox to display if the Response <> 0, and I've grown weary of seeing that msgbox pop up now. I had it printing to the window a few days ago, but now it won't.
Am I a complete idiot or what? And I haven't even tried to pass any date paramters in yet. If anybody has any ideas, I'm feeling pretty desperate!
Cathy