|
-
Feb 5th, 2002, 05:28 PM
#1
Printing a recordset with grid lines and column names
Hi
How can I print a recordset that includes column names and grid lines?
I try to do this but it doesn't work:
Dim varOutput As String
varOutput = Adodc1.Recordset.GetString(adClipString)
rtfText.Text = varOutput
With dlgCommonDialog
.DialogTitle = "[Print]"
.CancelError = True
.ShowPrinter
If Err <> MSComDlg.cdlCancel Then
rtfText.SelPrint .hDC
End If
End With
Thanks in advance!
Mike P.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|