PDA

Click to See Complete Forum and Search --> : Prunt grid on the printer. Help PLEASE !


Matt-D
Jan 12th, 2000, 07:47 PM
English:
There is a grid filled by an Access 1.10 database and I want to print it out on the printer, but with the method I know the printer only gives out an empty paper:
Printer.Print Grid1
Printer.EndDoc
How must I write the code (in VB3, but normally this doesn't matter)

Aaron Young's method doesn't unfortunately work. :(
Thanks for some help, Matthias ;)

Deutsch:
Die Tabelle in meier Form wird über Access 1.10 gefüllt und nun möchte ich die
Ergebnisse ausdrucken, aber mit der Methode die ich kenne (s.o.), kommt nur ein leeres Blatt.

Was muß ich hier tun (VB3) ?
Danke für ein paar Tips, Matthias

Joacim Andersson
Jan 12th, 2000, 10:52 PM
What grid are you using?

I know the FlexGrid has a picture property which will contain a picture of the Grid you can print that one:

Printer.PaintPicture Grid.Picture

Good luck!

------------------
Joacim Andersson
joacim@programmer.net
joacim@yellowblazer.com
www.YellowBlazer.com (http://www.YellowBlazer.com)