rptchallan.frm
来自「This a complete inventory management sys」· FRM 代码 · 共 142 行
FRM
142 行
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{00025600-0000-0000-C000-000000000046}#5.2#0"; "Crystl32.OCX"
Begin VB.Form rptChallan
Caption = "iManager - Print Challan"
ClientHeight = 3630
ClientLeft = 60
ClientTop = 345
ClientWidth = 8130
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 3630
ScaleWidth = 8130
WindowState = 2 'Maximized
Begin Crystal.CrystalReport CR
Left = 3120
Top = 2160
_ExtentX = 741
_ExtentY = 741
_Version = 348160
PrintFileLinesPerPage= 60
End
Begin TabDlg.SSTab SSTab1
Height = 2415
Left = 1440
TabIndex = 0
Top = 480
Width = 5055
_ExtentX = 8916
_ExtentY = 4260
_Version = 393216
Tabs = 1
TabsPerRow = 1
TabHeight = 520
TabCaption(0) = "Print Challan"
TabPicture(0) = "rptChallan.frx":0000
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "Command1"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).Control(1)= "cmdShow"
Tab(0).Control(1).Enabled= 0 'False
Tab(0).Control(2)= "Frame1"
Tab(0).Control(2).Enabled= 0 'False
Tab(0).ControlCount= 3
Begin VB.Frame Frame1
Height = 975
Left = 480
TabIndex = 3
Top = 360
Width = 3855
Begin VB.TextBox txtPname
Height = 315
Left = 1080
TabIndex = 6
Top = 360
Width = 2295
End
Begin VB.CommandButton cmdDispProd
Caption = "*"
Height = 315
Left = 3360
TabIndex = 5
Top = 360
Width = 375
End
Begin VB.TextBox txtprodId
Height = 285
Left = 3480
TabIndex = 4
Top = 360
Visible = 0 'False
Width = 1695
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "Challan No."
Height = 195
Left = 120
TabIndex = 7
Top = 360
Width = 825
End
End
Begin VB.CommandButton cmdShow
Caption = "&View Report"
Height = 375
Left = 1920
TabIndex = 2
Top = 1680
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "&Close"
Height = 375
Left = 3240
TabIndex = 1
Top = 1680
Width = 1095
End
End
End
Attribute VB_Name = "rptChallan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdDispProd_Click()
popChallan.Show vbModal
gId = popChallan.txtBookID
txtprodId = Trim(gId)
txtPname = Trim(gId)
Unload popChallan
End Sub
Private Sub cmdShow_Click()
With CR
.Reset
.ReportFileName = App.Path & "/Reports/challan.rpt"
.DataFiles(0) = App.Path & "\Adequate.mdb"
.DiscardSavedData = True
.SelectionFormula = "{challan.challan_no}='" & txtprodId & "'"
.WindowShowPrintSetupBtn = True
.WindowShowRefreshBtn = True
.WindowControlBox = True
.WindowShowPrintBtn = True
.WindowMaxButton = True
.WindowMinButton = True
.WindowShowCancelBtn = True
.WindowShowCloseBtn = True
.WindowShowNavigationCtls = True
.WindowShowSearchBtn = True
.WindowState = crptMaximized
.Action = 1
End With
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?