HELLO JI
i wish to get records from file having name candidate_detai l. for this i use following coding.it never give me any error but can't show record available in file.
i m sending the code as below:
Private Sub Command3_Click( )
Set rs = New adodb.Recordset
rs.Open "Select * from Candidate_Detai l where Candidate_Name like ' " & (Text1) & " '", con, adOpenForwardOn ly, adLockOptimisti c
If rs.EOF = True Then
MsgBox "No Such Records"
Else
Text2 = rs.Fields(2)
Text3 = rs.Fields(3)
Text4 = rs.Fields(4)
Text5 = rs.Fields(5)
Text6 = rs.Fields(6)
Text7 = rs.Fields(7)
Text8 = rs.Fields(8)
Text9 = rs.Fields(9)
Text10 = rs.Fields(10)
Text11 = rs.Fields(11)
Text12 = rs.Fields(0)
End If
end sub
i wish to get records from file having name candidate_detai l. for this i use following coding.it never give me any error but can't show record available in file.
i m sending the code as below:
Private Sub Command3_Click( )
Set rs = New adodb.Recordset
rs.Open "Select * from Candidate_Detai l where Candidate_Name like ' " & (Text1) & " '", con, adOpenForwardOn ly, adLockOptimisti c
If rs.EOF = True Then
MsgBox "No Such Records"
Else
Text2 = rs.Fields(2)
Text3 = rs.Fields(3)
Text4 = rs.Fields(4)
Text5 = rs.Fields(5)
Text6 = rs.Fields(6)
Text7 = rs.Fields(7)
Text8 = rs.Fields(8)
Text9 = rs.Fields(9)
Text10 = rs.Fields(10)
Text11 = rs.Fields(11)
Text12 = rs.Fields(0)
End If
end sub
Comment