I'm using ComponentOne's vsflexgrid (version 7.0) to show data from a SQL database. I need to print the grid but I have to add a header to the page. I looked up the function they have vsflexgrid.PrintGrid, and all I can do is add a footer. I don't want to use a reporting program like Crystal because it would be overkill.
I tried using the Printer object from vb, and it sort of works, but the printout is kind of ugly. One of the columns in my grid is a text field of up to 500 characters (used for comments). I need to be able to print all of it, and that's where I run into problems with VB's printer object. What I ended up doing is cutting it into strings of the same length, which ends up splitting words in weird places). Anynody have any ideas/suggestions?
Thanks a bunch!
I tried using the Printer object from vb, and it sort of works, but the printout is kind of ugly. One of the columns in my grid is a text field of up to 500 characters (used for comments). I need to be able to print all of it, and that's where I run into problems with VB's printer object. What I ended up doing is cutting it into strings of the same length, which ends up splitting words in weird places). Anynody have any ideas/suggestions?
Thanks a bunch!