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

医药行业

开发平台:

Visual Basic

  1. Imports System
  2. Imports DataDynamics.ActiveReports
  3. Imports DataDynamics.ActiveReports.Document
  4. Public Class rpxpd
  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 txt日期 As DataDynamics.ActiveReports.TextBox = Nothing
  19. Private 日期1 As DataDynamics.ActiveReports.TextBox = Nothing
  20. Private Line1 As DataDynamics.ActiveReports.Line = Nothing
  21. Private Line2 As DataDynamics.ActiveReports.Line = Nothing
  22. Private txt序号 As DataDynamics.ActiveReports.TextBox = Nothing
  23. Private txt票号 As DataDynamics.ActiveReports.TextBox = Nothing
  24. Private 票号1 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 txt批号 As DataDynamics.ActiveReports.TextBox = Nothing
  32. Private txt摘要 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 txt操作员 As DataDynamics.ActiveReports.TextBox = Nothing
  45. Private 操作员1 As DataDynamics.ActiveReports.TextBox = Nothing
  46. Private 金额2 As DataDynamics.ActiveReports.TextBox = Nothing
  47. Private 金额3 As DataDynamics.ActiveReports.TextBox = Nothing
  48. Public Sub InitializeReport()
  49. Me.LoadLayout(Me.GetType, "localJxc.rpxpd.rpx")
  50. Me.ds = CType(Me.DataSource,DataDynamics.ActiveReports.DataSources.SqlDBDataSource)
  51. Me.PageHeader = CType(Me.Sections("PageHeader"),DataDynamics.ActiveReports.PageHeader)
  52. Me.GroupHeader1 = CType(Me.Sections("GroupHeader1"),DataDynamics.ActiveReports.GroupHeader)
  53. Me.Detail = CType(Me.Sections("Detail"),DataDynamics.ActiveReports.Detail)
  54. Me.GroupFooter1 = CType(Me.Sections("GroupFooter1"),DataDynamics.ActiveReports.GroupFooter)
  55. Me.PageFooter = CType(Me.Sections("PageFooter"),DataDynamics.ActiveReports.PageFooter)
  56. Me.Label1 = CType(Me.GroupHeader1.Controls(0),DataDynamics.ActiveReports.Label)
  57. Me.txt日期 = CType(Me.GroupHeader1.Controls(1),DataDynamics.ActiveReports.TextBox)
  58. Me.日期1 = CType(Me.GroupHeader1.Controls(2),DataDynamics.ActiveReports.TextBox)
  59. Me.Line1 = CType(Me.GroupHeader1.Controls(3),DataDynamics.ActiveReports.Line)
  60. Me.Line2 = CType(Me.GroupHeader1.Controls(4),DataDynamics.ActiveReports.Line)
  61. Me.txt序号 = CType(Me.GroupHeader1.Controls(5),DataDynamics.ActiveReports.TextBox)
  62. Me.txt票号 = CType(Me.GroupHeader1.Controls(6),DataDynamics.ActiveReports.TextBox)
  63. Me.票号1 = CType(Me.GroupHeader1.Controls(7),DataDynamics.ActiveReports.TextBox)
  64. Me.txt药品编号 = CType(Me.GroupHeader1.Controls(8),DataDynamics.ActiveReports.TextBox)
  65. Me.txt药品名称 = CType(Me.GroupHeader1.Controls(9),DataDynamics.ActiveReports.TextBox)
  66. Me.txt单位 = CType(Me.GroupHeader1.Controls(10),DataDynamics.ActiveReports.TextBox)
  67. Me.txt进价 = CType(Me.GroupHeader1.Controls(11),DataDynamics.ActiveReports.TextBox)
  68. Me.txt数量 = CType(Me.GroupHeader1.Controls(12),DataDynamics.ActiveReports.TextBox)
  69. Me.txt金额 = CType(Me.GroupHeader1.Controls(13),DataDynamics.ActiveReports.TextBox)
  70. Me.txt批号 = CType(Me.GroupHeader1.Controls(14),DataDynamics.ActiveReports.TextBox)
  71. Me.txt摘要 = CType(Me.GroupHeader1.Controls(15),DataDynamics.ActiveReports.TextBox)
  72. Me.序号1 = CType(Me.Detail.Controls(0),DataDynamics.ActiveReports.TextBox)
  73. Me.药品编号1 = CType(Me.Detail.Controls(1),DataDynamics.ActiveReports.TextBox)
  74. Me.药品名称1 = CType(Me.Detail.Controls(2),DataDynamics.ActiveReports.TextBox)
  75. Me.单位1 = CType(Me.Detail.Controls(3),DataDynamics.ActiveReports.TextBox)
  76. Me.进价1 = CType(Me.Detail.Controls(4),DataDynamics.ActiveReports.TextBox)
  77. Me.数量1 = CType(Me.Detail.Controls(5),DataDynamics.ActiveReports.TextBox)
  78. Me.金额1 = CType(Me.Detail.Controls(6),DataDynamics.ActiveReports.TextBox)
  79. Me.批号1 = CType(Me.Detail.Controls(7),DataDynamics.ActiveReports.TextBox)
  80. Me.摘要1 = CType(Me.Detail.Controls(8),DataDynamics.ActiveReports.TextBox)
  81. Me.Line3 = CType(Me.Detail.Controls(9),DataDynamics.ActiveReports.Line)
  82. Me.Line4 = CType(Me.GroupFooter1.Controls(0),DataDynamics.ActiveReports.Line)
  83. Me.txt操作员 = CType(Me.GroupFooter1.Controls(1),DataDynamics.ActiveReports.TextBox)
  84. Me.操作员1 = CType(Me.GroupFooter1.Controls(2),DataDynamics.ActiveReports.TextBox)
  85. Me.金额2 = CType(Me.GroupFooter1.Controls(3),DataDynamics.ActiveReports.TextBox)
  86. Me.金额3 = CType(Me.GroupFooter1.Controls(4),DataDynamics.ActiveReports.TextBox)
  87. End Sub
  88. #End Region
  89. End Class