Error On CheckMaxLength

Stimulsoft Reports.NET discussion
Post Reply
nelson chai
Posts: 16
Joined: Mon Jan 08, 2007 4:01 am

Error On CheckMaxLength

Post by nelson chai »

Hi,

I had facing a problem on stimulreport.
After create a report template, i try to preview report but it come out an error as below...

Method:[CheckMaxLength]
Cannot Set Column 'ClockIn'. The value violates the MaxLength limits of this column.

The error message was exactly display on my screen. 'ClockIn' field is in mssql server is nvarchar(1).
I try to change datatype in report to nullable char. then it can work.
what is the problem to the default datatype? (default is string in report).
til now i can't figure out what is the problem. can you explain to me what was go wrong?

thanks a lot.

nelson
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error On CheckMaxLength

Post by Edward »

Please show full stack of the error message that you got from the report engine.

Thank you.
nelson chai
Posts: 16
Joined: Mon Jan 08, 2007 4:01 am

Error On CheckMaxLength

Post by nelson chai »

Hi Edward,

Good Day!

When i try to preview in report designer, The error message show in dialog box as below.

Method:[CheckMaxLength]
Cannot Set Column 'ClockIn'. The value violates the MaxLength limits of this column.

Thanks

Nelson
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error On CheckMaxLength

Post by Edward »

nelson wrote:Hi Edward,

Good Day!

When i try to preview in report designer, The error message show in dialog box as below.

Method:[CheckMaxLength]
Cannot Set Column 'ClockIn'. The value violates the MaxLength limits of this column.

Thanks

Nelson
We still can't reproduce the error. Please inform us about .Net you are using, date of the build StimulReport.Net dlls and version of the SQL Server.
Also a test project with the error will be great appreciated. If possible please send the project to Image for analysis.

Thank you.
nelson chai
Posts: 16
Joined: Mon Jan 08, 2007 4:01 am

Error On CheckMaxLength

Post by nelson chai »

Ok. I will.

Another question, I added a form in stimulreport designer. I want to create some coding in form event.

Did stimulreport have any manual or guide to refer it?

Thanks a lot.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error On CheckMaxLength

Post by Edward »

Please see class reference at http://www.stimulsoft.com/Documentation ... erence.zip .

If you will have any questions, feel free to contact us.

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error On CheckMaxLength

Post by Edward »

nelson wrote:Hi Edward,

Good Day!

When i try to preview in report designer, The error message show in dialog box as below.

Method:[CheckMaxLength]
Cannot Set Column 'ClockIn'. The value violates the MaxLength limits of this column.

Thanks

Nelson
Fixed. Will be available in build from Jan 11.

Thank you.
Post Reply