ariacom / Seal-Report

Database Reporting Tool and Tasks (.Net)
https://sealreport.org
Other
1.43k stars 467 forks source link

Error in report building when odbc connection is used #40

Closed iskanderror closed 4 years ago

iskanderror commented 4 years ago

Hello. Thank you for youur work.

There is an exception The connection string is not defined for this Model. when I try to build a report using odbc connection.

It looks like Connection.OdbcConnectionString check is missing in the function Seal.Model.ReportModel.FillResultTable() in the SealLibrary Screenshot_1

ariacom commented 4 years ago

Thank, I got the error, I made just the fix in ReportModel.cs if (string.IsNullOrEmpty(Connection.FullConnectionString)) throw new Exception("The connection string is not defined for this Model.");

it is in github right now