Hi Peter,
I'm working in win xp sp2, with mdac 2.8. installed.
I use the sample that is in the readme of the SourceCode of #D. Also I use in my report a 'Microsoft OLE DB Provider for SqlServer' v. 2000.85.1117.00. I test the conection in the wizard of #report and everything is ok. I select my stored procedure and drag it to command text section but when I click on the next button I obtain the followings errors :I Value cannot be null, Parameter name: stream" or "Object reference not set to an instance of an object"
Also when I expand stored procedures in the database window, there is an error in all the stored procedures : "X SharpQuerySchemaEnum.ProceduresColumns not supported by SQLOLEDB.1". But not exists any error in tables and views.
I create a report in Crystal Reports, only for proving the connection, using the same stored procedure and using the 'Microsoft OLE DB Provider for SqlServer' and everything is ok. So I don't believe that there is a problem with my connection to the db.
I really don't understand why I'm having this error in #report
Evelyn