rpxkc.vb
上传用户:wj57717022
上传日期:2014-12-16
资源大小:4093k
文件大小:6k
源码类别:

医药行业

开发平台:

Visual Basic

  1. Imports System
  2. Imports DataDynamics.ActiveReports
  3. Imports DataDynamics.ActiveReports.Document
  4. Public Class rpxkc
  5. Inherits ActiveReport
  6. Public Sub New()
  7. MyBase.New()
  8. InitializeReport()
  9. End Sub
  10. #Region "ActiveReports Designer generated code"
  11.     Private WithEvents PageHeader As DataDynamics.ActiveReports.PageHeader = Nothing
  12.     Private WithEvents GroupHeader1 As DataDynamics.ActiveReports.GroupHeader = Nothing
  13.     Private WithEvents Detail As DataDynamics.ActiveReports.Detail = Nothing
  14.     Private WithEvents GroupFooter1 As DataDynamics.ActiveReports.GroupFooter = Nothing
  15.     Private WithEvents PageFooter As DataDynamics.ActiveReports.PageFooter = Nothing
  16. Public ds As DataDynamics.ActiveReports.DataSources.SqlDBDataSource = Nothing
  17. Private Label1 As DataDynamics.ActiveReports.Label = Nothing
  18. Private Line1 As DataDynamics.ActiveReports.Line = Nothing
  19. Private Line2 As DataDynamics.ActiveReports.Line = Nothing
  20. Private txt药品编号 As DataDynamics.ActiveReports.TextBox = Nothing
  21. Private txt药品名称 As DataDynamics.ActiveReports.TextBox = Nothing
  22. Private txt药品规格 As DataDynamics.ActiveReports.TextBox = Nothing
  23. Private txt单位 As DataDynamics.ActiveReports.TextBox = Nothing
  24. Private txt数量 As DataDynamics.ActiveReports.TextBox = Nothing
  25. Private txt进价 As DataDynamics.ActiveReports.TextBox = Nothing
  26. Private txt金额 As DataDynamics.ActiveReports.TextBox = Nothing
  27. Private txt批号 As DataDynamics.ActiveReports.TextBox = Nothing
  28. Private txt产地 As DataDynamics.ActiveReports.TextBox = Nothing
  29. Private txt货位 As DataDynamics.ActiveReports.TextBox = Nothing
  30. Private txt客户名称 As DataDynamics.ActiveReports.TextBox = Nothing
  31. Private 药品编号1 As DataDynamics.ActiveReports.TextBox = Nothing
  32. Private 药品名称1 As DataDynamics.ActiveReports.TextBox = Nothing
  33. Private 药品规格1 As DataDynamics.ActiveReports.TextBox = Nothing
  34. Private 单位1 As DataDynamics.ActiveReports.TextBox = Nothing
  35. Private 数量1 As DataDynamics.ActiveReports.TextBox = Nothing
  36. Private 进价1 As DataDynamics.ActiveReports.TextBox = Nothing
  37. Private 金额1 As DataDynamics.ActiveReports.TextBox = Nothing
  38. Private 批号1 As DataDynamics.ActiveReports.TextBox = Nothing
  39. Private 产地1 As DataDynamics.ActiveReports.TextBox = Nothing
  40. Private 客户名称1 As DataDynamics.ActiveReports.TextBox = Nothing
  41. Private 货位1 As DataDynamics.ActiveReports.TextBox = Nothing
  42. Private Line3 As DataDynamics.ActiveReports.Line = Nothing
  43. Private Line4 As DataDynamics.ActiveReports.Line = Nothing
  44. Private Label2 As DataDynamics.ActiveReports.Label = Nothing
  45. Private 金额2 As DataDynamics.ActiveReports.TextBox = Nothing
  46. Public Sub InitializeReport()
  47. Me.LoadLayout(Me.GetType, "localJxc.rpxkc.rpx")
  48. Me.ds = CType(Me.DataSource,DataDynamics.ActiveReports.DataSources.SqlDBDataSource)
  49. Me.PageHeader = CType(Me.Sections("PageHeader"),DataDynamics.ActiveReports.PageHeader)
  50. Me.GroupHeader1 = CType(Me.Sections("GroupHeader1"),DataDynamics.ActiveReports.GroupHeader)
  51. Me.Detail = CType(Me.Sections("Detail"),DataDynamics.ActiveReports.Detail)
  52. Me.GroupFooter1 = CType(Me.Sections("GroupFooter1"),DataDynamics.ActiveReports.GroupFooter)
  53. Me.PageFooter = CType(Me.Sections("PageFooter"),DataDynamics.ActiveReports.PageFooter)
  54. Me.Label1 = CType(Me.GroupHeader1.Controls(0),DataDynamics.ActiveReports.Label)
  55. Me.Line1 = CType(Me.GroupHeader1.Controls(1),DataDynamics.ActiveReports.Line)
  56. Me.Line2 = CType(Me.GroupHeader1.Controls(2),DataDynamics.ActiveReports.Line)
  57. Me.txt药品编号 = CType(Me.GroupHeader1.Controls(3),DataDynamics.ActiveReports.TextBox)
  58. Me.txt药品名称 = CType(Me.GroupHeader1.Controls(4),DataDynamics.ActiveReports.TextBox)
  59. Me.txt药品规格 = CType(Me.GroupHeader1.Controls(5),DataDynamics.ActiveReports.TextBox)
  60. Me.txt单位 = CType(Me.GroupHeader1.Controls(6),DataDynamics.ActiveReports.TextBox)
  61. Me.txt数量 = CType(Me.GroupHeader1.Controls(7),DataDynamics.ActiveReports.TextBox)
  62. Me.txt进价 = CType(Me.GroupHeader1.Controls(8),DataDynamics.ActiveReports.TextBox)
  63. Me.txt金额 = CType(Me.GroupHeader1.Controls(9),DataDynamics.ActiveReports.TextBox)
  64. Me.txt批号 = CType(Me.GroupHeader1.Controls(10),DataDynamics.ActiveReports.TextBox)
  65. Me.txt产地 = CType(Me.GroupHeader1.Controls(11),DataDynamics.ActiveReports.TextBox)
  66. Me.txt货位 = CType(Me.GroupHeader1.Controls(12),DataDynamics.ActiveReports.TextBox)
  67. Me.txt客户名称 = CType(Me.GroupHeader1.Controls(13),DataDynamics.ActiveReports.TextBox)
  68. Me.药品编号1 = CType(Me.Detail.Controls(0),DataDynamics.ActiveReports.TextBox)
  69. Me.药品名称1 = CType(Me.Detail.Controls(1),DataDynamics.ActiveReports.TextBox)
  70. Me.药品规格1 = CType(Me.Detail.Controls(2),DataDynamics.ActiveReports.TextBox)
  71. Me.单位1 = CType(Me.Detail.Controls(3),DataDynamics.ActiveReports.TextBox)
  72. Me.数量1 = CType(Me.Detail.Controls(4),DataDynamics.ActiveReports.TextBox)
  73. Me.进价1 = CType(Me.Detail.Controls(5),DataDynamics.ActiveReports.TextBox)
  74. Me.金额1 = CType(Me.Detail.Controls(6),DataDynamics.ActiveReports.TextBox)
  75. Me.批号1 = CType(Me.Detail.Controls(7),DataDynamics.ActiveReports.TextBox)
  76. Me.产地1 = CType(Me.Detail.Controls(8),DataDynamics.ActiveReports.TextBox)
  77. Me.客户名称1 = CType(Me.Detail.Controls(9),DataDynamics.ActiveReports.TextBox)
  78. Me.货位1 = CType(Me.Detail.Controls(10),DataDynamics.ActiveReports.TextBox)
  79. Me.Line3 = CType(Me.Detail.Controls(11),DataDynamics.ActiveReports.Line)
  80. Me.Line4 = CType(Me.GroupFooter1.Controls(0),DataDynamics.ActiveReports.Line)
  81. Me.Label2 = CType(Me.GroupFooter1.Controls(1),DataDynamics.ActiveReports.Label)
  82. Me.金额2 = CType(Me.GroupFooter1.Controls(2),DataDynamics.ActiveReports.TextBox)
  83. End Sub
  84. #End Region
  85. End Class