I've been asked to revise a program with the ability to print the results of a search. Now currently the results are displayed in a dbgrid where the user can click on a row and view the details of that item...but that's neither here nor there. I have a program that I have a list of values printable from a string grid using the stringgrid.cells[] attribute, but there doesn't seem to be a cells attribute in the dbgrid. So my question is, what is the best way (if possible) to print the fields from a dbgrid? I'll need to only print certain fields, so I need to be able to format the output to a degree. I'm using Delphi7.
I guess it wouldn't be the end of civilization if I had to change it to a string grid...but it would be a lot more work than I was hoping for.
Thanks!!
I guess it wouldn't be the end of civilization if I had to change it to a string grid...but it would be a lot more work than I was hoping for.
Thanks!!