⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pgbaozhuangwuprint.frm

📁 这是一个啤酒行业的软件,用VB6开发的
💻 FRM
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "Msflxgrd.ocx"
Object = "{00025600-0000-0000-C000-000000000046}#4.6#0"; "CRYSTL32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form pgbaozhuangwuprint 
   Caption         =   "打印票据窗口"
   ClientHeight    =   6060
   ClientLeft      =   165
   ClientTop       =   450
   ClientWidth     =   8580
   LinkTopic       =   "Form1"
   ScaleHeight     =   6060
   ScaleWidth      =   8580
   StartUpPosition =   3  '窗口缺省
   Begin MSComDlg.CommonDialog Com 
      Left            =   4560
      Top             =   3360
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin Crystal.CrystalReport Cry 
      Left            =   3960
      Top             =   3120
      _ExtentX        =   741
      _ExtentY        =   741
      _Version        =   262150
      Destination     =   1
   End
   Begin VB.CommandButton Command3 
      Height          =   315
      Left            =   4800
      Picture         =   "pgbaozhuangwuprint.frx":0000
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   1560
      Width           =   975
   End
   Begin VB.Frame Frame2 
      Height          =   4935
      Left            =   120
      TabIndex        =   1
      Top             =   960
      Width           =   8295
      Begin VB.OptionButton Option3 
         Caption         =   "停电"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   300
         Left            =   7080
         TabIndex        =   10
         Top             =   600
         Visible         =   0   'False
         Width           =   975
      End
      Begin VB.TextBox Text2 
         Appearance      =   0  'Flat
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   390
         Left            =   1800
         TabIndex        =   9
         Top             =   2760
         Visible         =   0   'False
         Width           =   1455
      End
      Begin VB.OptionButton Option2 
         Caption         =   "分票打印"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   360
         TabIndex        =   8
         Top             =   600
         Width           =   1335
      End
      Begin VB.OptionButton Option1 
         Caption         =   "单票打印"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   360
         TabIndex        =   7
         Top             =   360
         Width           =   1455
      End
      Begin MSFlexGridLib.MSFlexGrid MSF 
         Height          =   3615
         Left            =   120
         TabIndex        =   5
         Top             =   1080
         Width           =   7815
         _ExtentX        =   13785
         _ExtentY        =   6376
         _Version        =   393216
         AllowUserResizing=   3
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin VB.TextBox Text1 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         Left            =   3420
         TabIndex        =   4
         Top             =   600
         Width           =   855
      End
      Begin VB.Label Label1 
         Caption         =   "输入分票张数:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1980
         TabIndex        =   3
         Top             =   660
         Width           =   1575
      End
   End
   Begin VB.Frame Frame1 
      Height          =   855
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   8295
      Begin VB.PictureBox Picture3 
         BorderStyle     =   0  'None
         Height          =   645
         Left            =   30
         Picture         =   "pgbaozhuangwuprint.frx":025E
         ScaleHeight     =   645
         ScaleWidth      =   8175
         TabIndex        =   6
         Top             =   150
         Width           =   8175
      End
   End
End
Attribute VB_Name = "pgbaozhuangwuprint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit
Dim en As rdoEnvironment
Dim cn As rdoConnection
Dim result As rdoResultset
Dim SQL As String
Dim i As Integer
Dim bzw(4) As String
Dim djh As String '''''掰票前单据号
Dim j As Integer
Private Sub Command2_Click()
'                t = False
'                pgkaipiao.Mask.Text = Format(Date, "yyyy年mm月dd日")
'                sql = "select  max(单据号)  from  pgdanjuhao where 开票日期='" & Trim(pgkaipiao.Mask.Text) & "' "
'                Set result = cn.OpenResultset(sql, rdOpenDynamic, rdConcurRowVer)
'                If IsNull(result(0)) = True Then
'                         pgkaipiao.Text1.Text = Format(Date, "yyyymmdd") & "0001"
'                Else
'                         pgkaipiao.Text1.Text = Val(Trim(result(0))) + 1
'                End If
'                result.Close
'
'
'                pgkaipiao.Combo1.Text = ""
'                     pgkaipiao.Combo1.Enabled = True
'                pgkaipiao.Combo2.Text = ""
'                     pgkaipiao.Combo2.Enabled = True
'                pgkaipiao.Text2.Text = ""
'                     pgkaipiao.Text2.Enabled = True
'                pgkaipiao.Text3.Text = ""
'                    pgkaipiao.Text3.Enabled = True

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -