Page 1 of 1

Error On CheckMaxLength

Posted: Mon Jan 08, 2007 4:11 am
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

Error On CheckMaxLength

Posted: Mon Jan 08, 2007 8:18 am
by Edward
Please show full stack of the error message that you got from the report engine.

Thank you.

Error On CheckMaxLength

Posted: Mon Jan 08, 2007 7:43 pm
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

Error On CheckMaxLength

Posted: Tue Jan 09, 2007 2:30 am
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.

Error On CheckMaxLength

Posted: Tue Jan 09, 2007 9:32 pm
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.

Error On CheckMaxLength

Posted: Wed Jan 10, 2007 1:18 am
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.

Error On CheckMaxLength

Posted: Thu Jan 11, 2007 4:17 am
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.