View Full Version : Find

03-21-2004, 01:54 PM
Dear Sir,

VB 6.0

Refers to the below coding. I want to find code in string data type, but there are run time error occur. why???

Private Sub Command1_Click()
Dim iFind As String

iFind = InputBox("Enter Customer Catergory Code to Find")
dtaCat1.Recordset.FindFirst ("CusCat = " & iFind)
If dtaCat1.Recordset.NoMatch Then
MsgBox "There is no such category code", vbExclamation
Call GiveCData
End If
End Sub



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum