- ©«¤l
- 91
- ¥DÃD
- 20
- ºëµØ
- 0
- ¿n¤À
- 118
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-11-30
- ³Ì«áµn¿ý
- 2016-1-14
|
¦^´_ c_c_lai
±z¦n:
ÁÂÁ±zªº¾÷²¼§@·~,½Ð°Ý§Ú¬O§_¥i¥H§ï¬°§â¦W¦r¥Î¿ï¶µ¤è¦¡¿é¤J.....µM«á¦Û°Ê±a¤J ...
JEAN µoªí©ó 2013-12-27 13:32
Private Sub DeleteData_Click()
Dim nCode As Range, ret As Boolean
With Sheets("data")
Set nCode = .[B:B].Find(CallID.Text, , , 1)
.Rows(Val(Mid(nCode.Address, 4))).EntireRow.Delete Shift:=xlUp
End With
ret = ExcelData.Value
ExcelData.Value = False
closeRS
OpenDB
strSQL = "DELETE FROM ¾÷²¼°O¿ý WHERE ¦W¦r = '" & CallID.Text & "'"
cmd.CommandText = strSQL
cmd.ActiveConnection = cnn
cmd.Execute
cnn.Close
Confirm.Enabled = True
ExcelData.Value = ret
ResetData_Click
End Sub
½Ð°Ý¬O§ï³oÃä¶Ü? |
|