Forum » Programiranje » ActiveReport
ActiveReport
hudicek7 ::
Zanima me, kako v main report vključiš subreport? V navodili najdem samo to:
Private Sub ActiveReport_ReportStart()
Set srptProducts.Object = New rptTopProducts
Set srptCustomers.Object = New rptTopCustomers
End Sub
Private Sub Detail_Format()
’ Optionally set record source filter
srptProducts.Object.dcRptData.RecordSource = sTop10Products
srptCustomers.Object.dcRptData.RecordSource = sTop10Customers
End Sub
Private Sub ActiveReport_ReportEnd()
On Error Resume Next
Unload srptProducts.Object
Set srptProducts.Object = Nothing
Unload srptCustomers.Object
Set srptCustomers.Object = Nothing
End Sub
Toda kako definiram rtpTopProduscts ter rtpTopCustomer? Sem namreč novinec na tem področju.
Private Sub ActiveReport_ReportStart()
Set srptProducts.Object = New rptTopProducts
Set srptCustomers.Object = New rptTopCustomers
End Sub
Private Sub Detail_Format()
’ Optionally set record source filter
srptProducts.Object.dcRptData.RecordSource = sTop10Products
srptCustomers.Object.dcRptData.RecordSource = sTop10Customers
End Sub
Private Sub ActiveReport_ReportEnd()
On Error Resume Next
Unload srptProducts.Object
Set srptProducts.Object = Nothing
Unload srptCustomers.Object
Set srptCustomers.Object = Nothing
End Sub
Toda kako definiram rtpTopProduscts ter rtpTopCustomer? Sem namreč novinec na tem področju.
Sklemen ::
Upam, da nisem prepozen:
Private Sub ActiveReport_ReportStart()
Set Me.SubReport1.object = New ARSubreport
end sub
Private Sub ActiveReport_ReportEnd()
unload Me.SubReport1.object: Set ARracun.SubReport1.object = Nothing
End Sub
drugače pa bo bolje, da vprašaš na Data Dynamics
Private Sub ActiveReport_ReportStart()
Set Me.SubReport1.object = New ARSubreport
end sub
Private Sub ActiveReport_ReportEnd()
unload Me.SubReport1.object: Set ARracun.SubReport1.object = Nothing
End Sub
drugače pa bo bolje, da vprašaš na Data Dynamics
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | [VB] Komunikacija s serijskimi napravamiOddelek: Programiranje | 2305 (1579) | mNeRo |
» | VB6 - brisanje datotek - pomočOddelek: Programiranje | 1168 (1040) | darkolord |
» | VB6 - ne zaključi proces programa - pomoč !!!Oddelek: Programiranje | 1391 (1232) | Mavrik |
» | VB.net MDI in formi splošnoOddelek: Programiranje | 1612 (1555) | strel |
» | API+VBOddelek: Programiranje | 2091 (1795) | webblod |