home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmdbcomgrid
- Caption = "Form1"
- ClientHeight = 1260
- ClientLeft = 3165
- ClientTop = 2550
- ClientWidth = 2595
- Height = 1665
- Left = 3105
- LinkTopic = "Form1"
- ScaleHeight = 1260
- ScaleWidth = 2595
- Top = 2205
- Width = 2715
- Begin VB.CommandButton cmdversion
- Caption = "&Version"
- Height = 315
- Left = 780
- TabIndex = 8
- Top = 5160
- Visible = 0 'False
- Width = 1035
- End
- Begin VB.TextBox txtpubid
- Height = 315
- Left = 1680
- TabIndex = 4
- Top = 1260
- Visible = 0 'False
- Width = 675
- End
- Begin VB.Data dtalist
- Caption = "Data1"
- Connect = "Access"
- DatabaseName = "\source\chap21\biblio.mdb"
- Exclusive = 0 'False
- Height = 300
- Left = 5220
- Options = 0
- ReadOnly = 0 'False
- RecordsetType = 1 'Dynaset
- RecordSource = "select name,pubid,pubid & "" "" & name as test from publishers "
- Top = 3360
- Visible = 0 'False
- Width = 1155
- End
- Begin VB.CommandButton cmdexit
- Caption = "E&xit"
- Height = 315
- Left = 5220
- TabIndex = 2
- Top = 5280
- Visible = 0 'False
- Width = 1035
- End
- Begin VB.Data Data1
- Caption = "Data1"
- Connect = "Access"
- DatabaseName = "\source\chap21\biblio.mdb"
- Exclusive = 0 'False
- Height = 300
- Left = 4920
- Options = 0
- ReadOnly = 0 'False
- RecordsetType = 1 'Dynaset
- RecordSource = "select title,pubid as conb, pubid form titles"
- Top = 120
- Visible = 0 'False
- Width = 1155
- End
- Begin MSMask.MaskEdBox txtdate
- Height = 435
- Left = 180
- TabIndex = 7
- Top = 660
- Width = 2205
- _Version = 65536
- _ExtentX = 3889
- _ExtentY = 767
- _StockProps = 109
- BorderStyle = 1
- AllowPrompt = -1 'True
- Format = "MMMM-DD-YYYY"
- End
- Begin Spin.SpinButton spndate
- Height = 435
- Left = 2760
- TabIndex = 6
- Top = 660
- Visible = 0 'False
- Width = 315
- _Version = 65536
- _ExtentX = 556
- _ExtentY = 767
- _StockProps = 73
- Delay = 200
- MousePointer = 13
- ShadowThickness = 1
- TdThickness = 1
- End
- Begin VB.Label pnlpibid
- Caption = "Publisher ID"
- Height = 195
- Left = 120
- TabIndex = 5
- Top = 1320
- Visible = 0 'False
- Width = 1215
- End
- Begin VB.Label pnltitle
- Caption = "Publisher"
- Height = 195
- Left = 120
- TabIndex = 3
- Top = 240
- Visible = 0 'False
- Width = 1215
- End
- Begin MSDBCtls.DBList dblistpub
- Bindings = "FRM721.frx":0000
- DataField = "PubID"
- DataSource = "Data1"
- Height = 1815
- Left = 3780
- TabIndex = 1
- Top = 1260
- Visible = 0 'False
- Width = 2895
- _Version = 65536
- _ExtentX = 5106
- _ExtentY = 3201
- _StockProps = 77
- ListField = "test"
- BoundColumn = "pubid"
- End
- Begin MSDBCtls.DBCombo dbcompub
- Bindings = "FRM721.frx":0010
- DataField = "PubID"
- DataSource = "Data1"
- Height = 315
- Left = 1560
- TabIndex = 0
- Top = 180
- Visible = 0 'False
- Width = 3135
- _Version = 65536
- _ExtentX = 5530
- _ExtentY = 556
- _StockProps = 77
- BackColor = 12632256
- MatchEntry = 1
- Style = 2
- ListField = "name"
- BoundColumn = "pubid"
- End
- Attribute VB_Name = "frmdbcomgrid"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub cmdexit_Click()
- Unload Me
- Set frmdbcomgrid = Nothing
- End Sub
- Private Sub DBList1_Click()
- End Sub
- Private Sub dbcompub_Click(Area As Integer)
- txtpubid.TEXT = dbcompub.BoundText
- End Sub
- Private Sub dblistpub_Click()
- txtpubid.TEXT = dblistpub.BoundText
- End Sub
- Private Sub Form_Load()
- txtdate.TEXT = Now
- End Sub
- Private Sub spndate_SpinDown()
- txtdate.TEXT = CVDate(txtdate.TEXT) - 1
- End Sub
- Private Sub spndate_SpinUp()
- txtdate.TEXT = CVDate(txtdate.TEXT) + 1
- End Sub
-