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

医药行业

开发平台:

Visual Basic

  1. Imports System
  2. Imports DataDynamics.ActiveReports
  3. Imports DataDynamics.ActiveReports.Document
  4. Public Class rpxkh
  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 客户编号1 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 应付帐款1 As DataDynamics.ActiveReports.TextBox = Nothing
  33. Private 余额1 As DataDynamics.ActiveReports.TextBox = Nothing
  34. Private Line3 As DataDynamics.ActiveReports.Line = Nothing
  35. Private Line4 As DataDynamics.ActiveReports.Line = Nothing
  36. Public Sub InitializeReport()
  37. Me.LoadLayout(Me.GetType, "localJxc.rpxkh.rpx")
  38. Me.ds = CType(Me.DataSource,DataDynamics.ActiveReports.DataSources.SqlDBDataSource)
  39. Me.PageHeader = CType(Me.Sections("PageHeader"),DataDynamics.ActiveReports.PageHeader)
  40. Me.GroupHeader1 = CType(Me.Sections("GroupHeader1"),DataDynamics.ActiveReports.GroupHeader)
  41. Me.Detail = CType(Me.Sections("Detail"),DataDynamics.ActiveReports.Detail)
  42. Me.GroupFooter1 = CType(Me.Sections("GroupFooter1"),DataDynamics.ActiveReports.GroupFooter)
  43. Me.PageFooter = CType(Me.Sections("PageFooter"),DataDynamics.ActiveReports.PageFooter)
  44. Me.Label1 = CType(Me.GroupHeader1.Controls(0),DataDynamics.ActiveReports.Label)
  45. Me.Line1 = CType(Me.GroupHeader1.Controls(1),DataDynamics.ActiveReports.Line)
  46. Me.Line2 = CType(Me.GroupHeader1.Controls(2),DataDynamics.ActiveReports.Line)
  47. Me.txt客户编号 = CType(Me.GroupHeader1.Controls(3),DataDynamics.ActiveReports.TextBox)
  48. Me.txt客户名称 = CType(Me.GroupHeader1.Controls(4),DataDynamics.ActiveReports.TextBox)
  49. Me.txt地址 = CType(Me.GroupHeader1.Controls(5),DataDynamics.ActiveReports.TextBox)
  50. Me.txt联系人 = CType(Me.GroupHeader1.Controls(6),DataDynamics.ActiveReports.TextBox)
  51. Me.txt应收帐款 = CType(Me.GroupHeader1.Controls(7),DataDynamics.ActiveReports.TextBox)
  52. Me.txt应付帐款 = CType(Me.GroupHeader1.Controls(8),DataDynamics.ActiveReports.TextBox)
  53. Me.txt余额 = CType(Me.GroupHeader1.Controls(9),DataDynamics.ActiveReports.TextBox)
  54. Me.客户编号1 = CType(Me.Detail.Controls(0),DataDynamics.ActiveReports.TextBox)
  55. Me.客户名称1 = CType(Me.Detail.Controls(1),DataDynamics.ActiveReports.TextBox)
  56. Me.地址1 = CType(Me.Detail.Controls(2),DataDynamics.ActiveReports.TextBox)
  57. Me.联系人1 = CType(Me.Detail.Controls(3),DataDynamics.ActiveReports.TextBox)
  58. Me.应收帐款1 = CType(Me.Detail.Controls(4),DataDynamics.ActiveReports.TextBox)
  59. Me.应付帐款1 = CType(Me.Detail.Controls(5),DataDynamics.ActiveReports.TextBox)
  60. Me.余额1 = CType(Me.Detail.Controls(6),DataDynamics.ActiveReports.TextBox)
  61. Me.Line3 = CType(Me.Detail.Controls(7),DataDynamics.ActiveReports.Line)
  62. Me.Line4 = CType(Me.GroupFooter1.Controls(0),DataDynamics.ActiveReports.Line)
  63. End Sub
  64. #End Region
  65. End Class