PDA

Click to See Complete Forum and Search --> : Printing some data


Jan 6th, 2000, 01:09 AM
is it possible to print a dbgrid only, without printing all the form.

And how can i include all the fields, even if they are larger then my form ?????

Please someone help me...

And thanks cluniep, for your help..

Clunietp
Jan 6th, 2000, 12:24 PM
no problem boil

you can probably do a for/next loop, storing each row's data into a variable and printing it in the end:

VB/PSEUDOCODE:
dim str1 as string
do until last row in grid
str1 = str1 & grid.column1 & " " & grid.col2 & ......
str1 = str1 & vbcrlf 'new line
loop

printer.print str1

HTH

Tom