I am trying to print the data and column header in a dbgrid by using the printer.print (rowdata),but since the column header contains more characters than the column data therefore they get all mixed up ie. I am trying to print the dbgrid like MS Excel sheet (without the grid) with each column data under its corresponding column header. I tried to use vbtab and adding spaces but it still did not work.
So is there a way in VB5 to print the data in dbgrid with its column headers in a nice format?
any comments,suggestions or sample code?