Script error

by Mr. Jim Cai (2012-01-27) in group Reports & Macros in ARIS

I tried to run the report, it's been advised the following error

the code in line 376 & 377 are as following:

o.TableCell(vBusinessRules,50,"Arial", 11, Constants.C_BLACK, Constants.C_WHITE, 0, Constants.FMT_VTOP|Constants.FMT_LEFT, 2);
o.TableCell(vBusinessRuleDesc,50,"Arial", 11, Constants.C_BLACK, Constants.C_WHITE, 0, Constants.FMT_VTOP|Constants.FMT_LEFT, 2);

 

Anyone knows how to fix this?

Thanks in advance!

 


Comments

by Mr. Vinay Agarkhed (2012-01-27)

Hi Mr. Jim Cai ,

Is the output file type for this report is "MS Excel" ?

As far as i know, in ARIS Script you can create upto 256 columns of data in Excel file type output. If Script tries to create 257th column or next the above error populates.

I hope you are using the following method to write data on subsequent lines:

o.TableRow(); 

 

Regards,

Vinay Agarkhed


by Mr. Jim Cai (2012-02-09)

Thanks Vinay! Really appreciated!