rpxkc.vb
上传用户:wj57717022
上传日期:2014-12-16
资源大小:4093k
文件大小:6k
- Imports System
- Imports DataDynamics.ActiveReports
- Imports DataDynamics.ActiveReports.Document
- Public Class rpxkc
- Inherits ActiveReport
- Public Sub New()
- MyBase.New()
- InitializeReport()
- End Sub
- #Region "ActiveReports Designer generated code"
- Private WithEvents PageHeader As DataDynamics.ActiveReports.PageHeader = Nothing
- Private WithEvents GroupHeader1 As DataDynamics.ActiveReports.GroupHeader = Nothing
- Private WithEvents Detail As DataDynamics.ActiveReports.Detail = Nothing
- Private WithEvents GroupFooter1 As DataDynamics.ActiveReports.GroupFooter = Nothing
- Private WithEvents PageFooter As DataDynamics.ActiveReports.PageFooter = Nothing
- Public ds As DataDynamics.ActiveReports.DataSources.SqlDBDataSource = Nothing
- Private Label1 As DataDynamics.ActiveReports.Label = Nothing
- Private Line1 As DataDynamics.ActiveReports.Line = Nothing
- Private Line2 As DataDynamics.ActiveReports.Line = Nothing
- Private txt药品编号 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt药品名称 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt药品规格 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt单位 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt数量 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt进价 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt金额 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt批号 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt产地 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt货位 As DataDynamics.ActiveReports.TextBox = Nothing
- Private txt客户名称 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 药品编号1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 药品名称1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 药品规格1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 单位1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 数量1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 进价1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 金额1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 批号1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 产地1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 客户名称1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private 货位1 As DataDynamics.ActiveReports.TextBox = Nothing
- Private Line3 As DataDynamics.ActiveReports.Line = Nothing
- Private Line4 As DataDynamics.ActiveReports.Line = Nothing
- Private Label2 As DataDynamics.ActiveReports.Label = Nothing
- Private 金额2 As DataDynamics.ActiveReports.TextBox = Nothing
- Public Sub InitializeReport()
- Me.LoadLayout(Me.GetType, "localJxc.rpxkc.rpx")
- Me.ds = CType(Me.DataSource,DataDynamics.ActiveReports.DataSources.SqlDBDataSource)
- Me.PageHeader = CType(Me.Sections("PageHeader"),DataDynamics.ActiveReports.PageHeader)
- Me.GroupHeader1 = CType(Me.Sections("GroupHeader1"),DataDynamics.ActiveReports.GroupHeader)
- Me.Detail = CType(Me.Sections("Detail"),DataDynamics.ActiveReports.Detail)
- Me.GroupFooter1 = CType(Me.Sections("GroupFooter1"),DataDynamics.ActiveReports.GroupFooter)
- Me.PageFooter = CType(Me.Sections("PageFooter"),DataDynamics.ActiveReports.PageFooter)
- Me.Label1 = CType(Me.GroupHeader1.Controls(0),DataDynamics.ActiveReports.Label)
- Me.Line1 = CType(Me.GroupHeader1.Controls(1),DataDynamics.ActiveReports.Line)
- Me.Line2 = CType(Me.GroupHeader1.Controls(2),DataDynamics.ActiveReports.Line)
- Me.txt药品编号 = CType(Me.GroupHeader1.Controls(3),DataDynamics.ActiveReports.TextBox)
- Me.txt药品名称 = CType(Me.GroupHeader1.Controls(4),DataDynamics.ActiveReports.TextBox)
- Me.txt药品规格 = CType(Me.GroupHeader1.Controls(5),DataDynamics.ActiveReports.TextBox)
- Me.txt单位 = CType(Me.GroupHeader1.Controls(6),DataDynamics.ActiveReports.TextBox)
- Me.txt数量 = CType(Me.GroupHeader1.Controls(7),DataDynamics.ActiveReports.TextBox)
- Me.txt进价 = CType(Me.GroupHeader1.Controls(8),DataDynamics.ActiveReports.TextBox)
- Me.txt金额 = CType(Me.GroupHeader1.Controls(9),DataDynamics.ActiveReports.TextBox)
- Me.txt批号 = CType(Me.GroupHeader1.Controls(10),DataDynamics.ActiveReports.TextBox)
- Me.txt产地 = CType(Me.GroupHeader1.Controls(11),DataDynamics.ActiveReports.TextBox)
- Me.txt货位 = CType(Me.GroupHeader1.Controls(12),DataDynamics.ActiveReports.TextBox)
- Me.txt客户名称 = CType(Me.GroupHeader1.Controls(13),DataDynamics.ActiveReports.TextBox)
- Me.药品编号1 = CType(Me.Detail.Controls(0),DataDynamics.ActiveReports.TextBox)
- Me.药品名称1 = CType(Me.Detail.Controls(1),DataDynamics.ActiveReports.TextBox)
- Me.药品规格1 = CType(Me.Detail.Controls(2),DataDynamics.ActiveReports.TextBox)
- Me.单位1 = CType(Me.Detail.Controls(3),DataDynamics.ActiveReports.TextBox)
- Me.数量1 = CType(Me.Detail.Controls(4),DataDynamics.ActiveReports.TextBox)
- Me.进价1 = CType(Me.Detail.Controls(5),DataDynamics.ActiveReports.TextBox)
- Me.金额1 = CType(Me.Detail.Controls(6),DataDynamics.ActiveReports.TextBox)
- Me.批号1 = CType(Me.Detail.Controls(7),DataDynamics.ActiveReports.TextBox)
- Me.产地1 = CType(Me.Detail.Controls(8),DataDynamics.ActiveReports.TextBox)
- Me.客户名称1 = CType(Me.Detail.Controls(9),DataDynamics.ActiveReports.TextBox)
- Me.货位1 = CType(Me.Detail.Controls(10),DataDynamics.ActiveReports.TextBox)
- Me.Line3 = CType(Me.Detail.Controls(11),DataDynamics.ActiveReports.Line)
- Me.Line4 = CType(Me.GroupFooter1.Controls(0),DataDynamics.ActiveReports.Line)
- Me.Label2 = CType(Me.GroupFooter1.Controls(1),DataDynamics.ActiveReports.Label)
- Me.金额2 = CType(Me.GroupFooter1.Controls(2),DataDynamics.ActiveReports.TextBox)
- End Sub
- #End Region
- End Class