ariacom/Seal-Report

Error in report building when odbc connection is used

iskanderror opened this issue · 1 comments

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

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