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 | 2306 (1580) | mNeRo |
» | VB6 - brisanje datotek - pomočOddelek: Programiranje | 1170 (1042) | darkolord |
» | VB6 - ne zaključi proces programa - pomoč !!!Oddelek: Programiranje | 1392 (1233) | Mavrik |
» | VB.net MDI in formi splošnoOddelek: Programiranje | 1615 (1558) | strel |
» | API+VBOddelek: Programiranje | 2095 (1799) | webblod |