It just create one page report for only first record
Private Sub Command1_Click()
Dim cnString As String
Set rs = New ADODB.Recordset
cnString = "Select * from Main"
rs.Open cnString, cn, adOpenStatic, adLockOptimistic
Set DataReport1.DataSource = rs
If Not rs.EOF Then
DataReport1.Sections(4).ForcePageBreak = rptPageBreakAfter
3 Months Ago
Related Article:Mail from Data report
is a Visual Basic 4 / 5 / 6 discussion thread by Karthik_pranas that has 12 replies, was last updated 1 year ago and has been tagged with the keywords: data, mail, report, vb6.