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

医药行业

开发平台:

Visual Basic

  1. Imports System
  2. Imports DataDynamics.ActiveReports
  3. Imports DataDynamics.ActiveReports.Document
  4. Public Class rpxckz
  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 txt票号 As DataDynamics.ActiveReports.TextBox = Nothing
  21. Private 票号1 As DataDynamics.ActiveReports.TextBox = Nothing
  22. Private Line1 As DataDynamics.ActiveReports.Line = Nothing
  23. Private Line2 As DataDynamics.ActiveReports.Line = 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 药品名称1 As DataDynamics.ActiveReports.TextBox = Nothing
  29. Private 数量1 As DataDynamics.ActiveReports.TextBox = Nothing
  30. Private 单价1 As DataDynamics.ActiveReports.TextBox = Nothing
  31. Private 金额1 As DataDynamics.ActiveReports.TextBox = Nothing
  32. Private Line3 As DataDynamics.ActiveReports.Line = Nothing
  33. Private Line4 As DataDynamics.ActiveReports.Line = Nothing
  34. Private txt销售员 As DataDynamics.ActiveReports.TextBox = Nothing
  35. Private 销售员1 As DataDynamics.ActiveReports.TextBox = Nothing
  36. Private 金额2 As DataDynamics.ActiveReports.TextBox = Nothing
  37. Private 金额3 As DataDynamics.ActiveReports.TextBox = Nothing
  38. Public Sub InitializeReport()
  39. Me.LoadLayout(Me.GetType, "localJxc.rpxckz.rpx")
  40. Me.ds = CType(Me.DataSource,DataDynamics.ActiveReports.DataSources.SqlDBDataSource)
  41. Me.PageHeader = CType(Me.Sections("PageHeader"),DataDynamics.ActiveReports.PageHeader)
  42. Me.GroupHeader1 = CType(Me.Sections("GroupHeader1"),DataDynamics.ActiveReports.GroupHeader)
  43. Me.Detail = CType(Me.Sections("Detail"),DataDynamics.ActiveReports.Detail)
  44. Me.GroupFooter1 = CType(Me.Sections("GroupFooter1"),DataDynamics.ActiveReports.GroupFooter)
  45. Me.PageFooter = CType(Me.Sections("PageFooter"),DataDynamics.ActiveReports.PageFooter)
  46. Me.Label1 = CType(Me.GroupHeader1.Controls(0),DataDynamics.ActiveReports.Label)
  47. Me.txt日期 = CType(Me.GroupHeader1.Controls(1),DataDynamics.ActiveReports.TextBox)
  48. Me.日期1 = CType(Me.GroupHeader1.Controls(2),DataDynamics.ActiveReports.TextBox)
  49. Me.txt票号 = CType(Me.GroupHeader1.Controls(3),DataDynamics.ActiveReports.TextBox)
  50. Me.票号1 = CType(Me.GroupHeader1.Controls(4),DataDynamics.ActiveReports.TextBox)
  51. Me.Line1 = CType(Me.GroupHeader1.Controls(5),DataDynamics.ActiveReports.Line)
  52. Me.Line2 = CType(Me.GroupHeader1.Controls(6),DataDynamics.ActiveReports.Line)
  53. Me.txt药品名称 = CType(Me.GroupHeader1.Controls(7),DataDynamics.ActiveReports.TextBox)
  54. Me.txt数量 = CType(Me.GroupHeader1.Controls(8),DataDynamics.ActiveReports.TextBox)
  55. Me.txt单价 = CType(Me.GroupHeader1.Controls(9),DataDynamics.ActiveReports.TextBox)
  56. Me.txt金额 = CType(Me.GroupHeader1.Controls(10),DataDynamics.ActiveReports.TextBox)
  57. Me.药品名称1 = CType(Me.Detail.Controls(0),DataDynamics.ActiveReports.TextBox)
  58. Me.数量1 = CType(Me.Detail.Controls(1),DataDynamics.ActiveReports.TextBox)
  59. Me.单价1 = CType(Me.Detail.Controls(2),DataDynamics.ActiveReports.TextBox)
  60. Me.金额1 = CType(Me.Detail.Controls(3),DataDynamics.ActiveReports.TextBox)
  61. Me.Line3 = CType(Me.Detail.Controls(4),DataDynamics.ActiveReports.Line)
  62. Me.Line4 = CType(Me.GroupFooter1.Controls(0),DataDynamics.ActiveReports.Line)
  63. Me.txt销售员 = CType(Me.GroupFooter1.Controls(1),DataDynamics.ActiveReports.TextBox)
  64. Me.销售员1 = CType(Me.GroupFooter1.Controls(2),DataDynamics.ActiveReports.TextBox)
  65. Me.金额2 = CType(Me.GroupFooter1.Controls(3),DataDynamics.ActiveReports.TextBox)
  66. Me.金额3 = CType(Me.GroupFooter1.Controls(4),DataDynamics.ActiveReports.TextBox)
  67. End Sub
  68. #End Region
  69.     Private Sub GroupHeader1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles GroupHeader1.Format
  70.     End Sub
  71. End Class