Page 1 of 1

Error for report: [CheckMaxLength]

Posted: Tue Jun 27, 2006 10:26 pm
by magicang
Hi thre,

While i try to do a simple that bind to a dataset in my project, i always enounter the following error :
Method: [CheckMaxLength]
Cannot set column 'STATUS'
The value violates the MAxLength Lmit of this column.

My "STATUS" column is varchar(1) type. It just a simple column with length 1.

I also found that i will enounter similiar error on every table that having varchar(1).

Can anyone give me some idea how to fix it? :pffft:

TQ.

Error for report: [CheckMaxLength]

Posted: Wed Jun 28, 2006 1:15 am
by Vital
magicang wrote:Hi thre,

While i try to do a simple that bind to a dataset in my project, i always enounter the following error :
Method: [CheckMaxLength]
Cannot set column 'STATUS'
The value violates the MAxLength Lmit of this column.

My "STATUS" column is varchar(1) type. It just a simple column with length 1.

I also found that i will enounter similiar error on every table that having varchar(1).

Can anyone give me some idea how to fix it? :pffft:

TQ.
Please, provide your code and full text of error message.

Thanks.

Error for report: [CheckMaxLength]

Posted: Wed Jun 28, 2006 2:29 am
by magicang
Hi there,

i didn't use any coding.

I put a stilreport component on my form, choose it's datasouce to one of my dataset.

Then, i choose design report in context menu. In the designer, i drag those field to the report. And error occur while i try to preview the report.

regards,
Ang Lik Huar

Error for report: [CheckMaxLength]

Posted: Wed Jun 28, 2006 3:31 am
by Vital
Please send your Dataset schema to Image for examination.

Thanks.