Javier, In some cases I could use the print screen function. But I think I will have to go with the report. I was hoping I could duplicate what one can do while in the explorer mode. It will not be difficult so I will just create another report.
James Belisle Making Information Systems People Friendly Since 1990 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Javier Valencia Sent: Wednesday, February 04, 2015 11:56 AM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: printing information from a DBGRID Jim, Is all the information you want to print visible on the grid on the screen? If this is the case, you can capture and image of the screen, the form or just portion of the form (grid) and print it the image. If there is more information in the grid than the one displayed on the form, then you will need to create a report . One client wanted to be able to print a screen shot of a multi-table form and just about that time a PROPERTY command became available to do just that: PROPERTY RBASE_FORM PRINT 'PRINTER' Which prints the currently displayed form image to the current printer. The command: PROPERTY RBASE_FORM 'CAPTURE_FROM_WINDOW|365,228,915,625' &vMyImage Will capture an image of a portion of the screen as defined by the number locating the upper left and bottom right corners. Now, a nice option would be to have a command that captures the screen-formatted image of any item: PROPERTY component ID 'CAPTURE_IMAGE' my_image .jpg Although I believe you can create your own by capturing (GETPROPERTY) the top, left, width and height and plugging them into the PROPERTY RBASE_FORM 'CAPTURE_FROM_WINDOW|..." command. Javier, Javier Valencia, PE O: 913-829-0888 H: 913-397-9605 C: 913-915-3137 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle Sent: Wednesday, February 04, 2015 10:45 AM To: RBASE-L Mailing List Subject: [RBASE-L] - printing information from a DBGRID Within a form, I have a DBGrid that shows specific information based on the cursor location in another form location. What I want to do, without creating another report, is give the user the ability to print only the information in the DBGRID. This would be within a compiled application. This would be much like when you are in a table itself while in the explorer mode and you want to print table data. How would I go about doing this? James Belisle Making Information Systems People Friendly Since 1990 [cid:[email protected]]

