vikramrathour
asked on
Report giving error when run in text mode
REP-1219: 'R_G_BR_VAT_REG' has no size -- length or width is zero.
Getting this error when running report in TEXT format..
Need help urgently
Getting this error when running report in TEXT format..
Need help urgently
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
When you run in character mode, the fields and boilerplate are rounded to the nearest character cell. Unfortunately, this can sometimes result in the objects getting rounded down to have a height of zero, causing this error.
Re-default the layout with 'Use Character Units in the Layout Editor' report property checked.
If you have done a lot of work on the layout that you don't want to lose, try:
o Increasing the appropriate field's height in the Layout Editor, or
o Changing the field to use a larger font.
For example: go from Courier 10 to Courier 12
SOLUTION EXPLANATION:
=====================
A report can be defined using inches, centimeters, picas/points, or
characters. In character mode, the unit is character. In bitmapped mode the default unit is inch, but it may also be set to centimeters or picas/points.
REP-1219 errors occur when the bitmapped object that you have converted to character mode is less than half the height or width of a character cell. As a result, Reports has mapped its size to zero during formatting.
Basically if the bitmap unit of measure equates to a size smaller than 1 character, it will convert to 0 size, and REP-1219 will occur.