Results 1 to 2 of 2

Thread: Printing some data

  1. #1
    Guest

    Post

    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..

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width