Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SFReports - printing from a grid
Message
 
To
14/02/2000 16:07:15
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00330389
Message ID:
00332345
Views:
23
>Hi Elyse.
>
>>I just purchased Stonefield Reports and am eagerly anticipating being able to give my users the ability to print any grid. But I've encountered a problem. My grid contains a memo field. If I print this field on the report, it stretches the detail band to the height of the memo field. I don't want this, so I want to eliminate the memo field from the report. I moved the memo field over to the far right of the grid and expanded the other columns so there wouldn't be room for the memo field to print on the report. It doesn't print, but the detail band still stretches to accommodate it as if it were printing.
>
>Actually, the memo field is included in the report; it's just past the right edge of the page so it's not actually appearing.
>
>The solution is to not use PRINTGRID.PRG but instead steal the code from that routine and modify it for your own purposes. For example, you could hard-code it to ignore the memo field by name, or you could create a generic version that simply ignored all memo fields.
>
>Doug

Hi all,

You are also able to add methods ( in sfcollection ) to remove some items ( like memo or non visible columns) in the columns collection.

There are also problems when you have to many non visible columns.
So I remove all unvisible column in the collection before printing .

Marcel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform