Click to See Complete Forum and Search --> : How to print a dynamic grid without data at runtime


Xernai
August 25th, 2004, 04:30 PM
Hi everybody,

I'm doing a report where is necessary to print a dynamic grid at runtime, that is, a grid without data only with drawed rows and columns accordingly to certain conditions. These grid must be printed at the Page Header.


Thanks a lot for any help.

Xernai.

Xernai
August 27th, 2004, 10:11 AM
I'm answering by myself because I resolved my doubt drawing a predefined grid in design time, designing each cell through one Text object. The secret is in the borders of each Text object because I go to Format Editer with right click and then chose Change border. Later I make a formula in the section of Color,Borders of the Borders Tab, that is, in X.2 I code:
if {ES03.GRADE} < 4
then
Black
else
White

That way, making White the Fore-Color the report only presents the cells that I wish at runtime.

Ciao, Xernai.