Results 1 to 2 of 2

Thread: How to print my data?

  1. #1

    Thread Starter
    Addicted Member P.S.W.'s Avatar
    Join Date
    Aug 2000
    Posts
    146

    Question

    Hi guys,

    I have an app that displays a lot of info in a lot of datagrids. My users are requesting the ability to print out this info. Rather than making a lot of elaborate datareports, I was wondering if there was an easier way -- like printing the contents of the datagrid directly. Can anyone point me in the direction of some code that could do this? My own search has only yielded code designed for the flexgrid, but not the datagrid. Your help is appreciated!

  2. #2
    Lively Member Dr_Evil's Avatar
    Join Date
    Mar 2000
    Location
    Columbus, OH
    Posts
    105
    Honestly your best bet is to create the reports. I had to deal with this issue about a year ago. We managed to come across a routine that would read each row from the grid and then print it. It wasn't very efficient and the formatting wasn't very good. We scrapped the idea and used the DataReports instead. I can get ahold of my former co-worker to see if he has the code if you'd like but I don't recommend it.
    Dr_Evil
    Senior Programmer
    VS6 EE
    VS.NET EA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width