?? h_f1_tjspxxdx.frm
字號:
Width = 735
End
Begin VB.Label Label8
Caption = "元"
Height = 255
Left = 5640
TabIndex = 18
Top = 3120
Width = 375
End
Begin VB.Label Label7
AutoSize = -1 'True
BackColor = &H8000000B&
BackStyle = 0 'Transparent
Caption = "賣家信譽度"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0045532B&
Height = 210
Left = 120
TabIndex = 15
Top = 3000
Width = 1050
End
Begin VB.Label Label5
AutoSize = -1 'True
BackColor = &H8000000B&
BackStyle = 0 'Transparent
Caption = "書籍編號"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0045532B&
Height = 210
Left = 360
TabIndex = 13
Top = 600
Width = 840
End
Begin VB.Label Label15
AutoSize = -1 'True
BackColor = &H8000000B&
BackStyle = 0 'Transparent
ForeColor = &H0045532B&
Height = 180
Left = 2040
TabIndex = 11
Top = 2200
Width = 210
End
Begin VB.Label Label6
AutoSize = -1 'True
BackColor = &H8000000B&
BackStyle = 0 'Transparent
Caption = "競購價格"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0045532B&
Height = 210
Left = 4560
TabIndex = 10
Top = 2640
Width = 840
End
Begin VB.Label Label4
AutoSize = -1 'True
BackColor = &H8000000B&
BackStyle = 0 'Transparent
Caption = "最低價格"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0045532B&
Height = 210
Left = 240
TabIndex = 9
Top = 2520
Width = 840
End
Begin VB.Label Label3
AutoSize = -1 'True
BackColor = &H8000000B&
BackStyle = 0 'Transparent
Caption = "出版社"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0045532B&
Height = 210
Left = 480
TabIndex = 8
Top = 2040
Width = 630
End
Begin VB.Label Label2
AutoSize = -1 'True
BackColor = &H8000000B&
BackStyle = 0 'Transparent
Caption = "作者"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0045532B&
Height = 210
Left = 600
TabIndex = 7
Top = 1560
Width = 420
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H8000000B&
BackStyle = 0 'Transparent
Caption = "書名"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0045532B&
Height = 210
Left = 600
TabIndex = 6
Top = 1080
Width = 420
End
End
End
Attribute VB_Name = "f1_tjddx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command2_Click()
If Text5 = "" Then
MsgBox "請出價", , "提示"
Call Form_Load: Exit Sub
End If
nr = Text5
For l = 1 To Len(nr)
le = Mid(nr, l, 1)
If Not (Asc(le) = 46 Or (Asc(le) >= 48 And Asc(le) <= 57)) Then
MsgBox "數據輸入有誤!", vbOKOnly, "提示"
Text5 = ""
Text5.SetFocus: Exit Sub
End If
Next l
'If Adodc2.Recordset.RecordCount = 0 Then
'temp = 0
'Else
' Adodc2.Recordset.MoveLast
' temp = Adodc2.Recordset.Fields("wanted_order_ID")
'End If
Adodc2.Recordset.AddNew
Adodc2.Recordset.Fields("supplied_book_ID") = sbid
Adodc2.Recordset.Fields("user_ID") = yhid
Adodc2.Recordset.Fields("competitive_price") = Text5.Text
Adodc2.Recordset.Fields("handled") = 1
Adodc2.Recordset.Fields("dealed") = 0
Adodc2.Recordset.Fields("release_time") = Date + 1 '有問題
Adodc2.Recordset.Update
Adodc2.Refresh
Adodc2.Recordset.MoveLast
Text11 = Adodc2.Recordset.Fields("idz")
Adodc2.Recordset.Fields("wanted_order_ID") = Text11.Text
Adodc2.Recordset.Update
Adodc2.Refresh
MsgBox "提交成功,歡迎下次使用", , "結果"
main.Enabled = True
main.Show
Unload Me
End Sub
Private Sub Command3_Click()
main.Show
main.Enabled = True
sbid = ""
Unload Me
End Sub
Private Sub Form_Load()
'sbid = 3 ''''''''''''''''''''
Text1 = ""
Text2 = ""
Text3 = ""
Text4 = ""
Text5 = ""
Text6 = ""
Text7 = ""
Text1.Enabled = False
Text2.Enabled = False
Text3.Enabled = False
Text4.Enabled = False
Text6.Enabled = False
Text7.Enabled = False
Text9.Enabled = False
Text10.Enabled = False
Text8 = sbid
Adodc1.ConnectionString = cns1 & App.Path & cns2
Adodc1.RecordSource = "select supb.supplied_book_ID as 書籍編號,supb.name as 書籍名稱,supb.publisher as 出版社,supb.author as 作者,supb.description as 描述,supb.theme as 主題,supb.kind as 類別,supb.lowest_price as 最低價格,supb.user_credit as 用戶信譽度,supb.release_time as 期限,supb.dealed as 是否交易,supb.handled as 是否發布 from supb where supb.supplied_book_ID= '" & Text8.Text & " '"
Adodc1.Refresh
Text1 = Adodc1.Recordset.Fields("書籍名稱")
Text2 = Adodc1.Recordset.Fields("作者")
Text3 = Adodc1.Recordset.Fields("出版社")
Text4 = Adodc1.Recordset.Fields("最低價格")
Text6 = Adodc1.Recordset.Fields("用戶信譽度")
Text7 = Adodc1.Recordset.Fields("書籍編號")
Text9 = Adodc1.Recordset.Fields("主題")
Text10 = Adodc1.Recordset.Fields("類別")
Adodc2.ConnectionString = cns1 & App.Path & cns2
Adodc2.RecordSource = "select * from wano"
Adodc2.Refresh
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -