I have a simple form with a few command button (exit, print, fill grid) which work fine except the print comand. The Fill Grid command populates a flexgrid with say 20 rows and 50 columns with numerical values in the cells. When i run this it works fine in the form.
My problem is trying to print the grid i've tried printing the form with the following code
Private Sub CmdPrint_Click()
The result is the form printing out but the grid area is blank...actually black and grey streaks and no cells or values showing up. Also, once this problem is resolved i need to determine how to print the grid when the columns go beyond the width of the control. Another words the horizontal scroll bar is needed to display columns to the left.
I don't need the form printed and would actually like to just print the control vs a form and control taking up the page.
Any help here would be apprciated