Private Sub search_Click()
On Error GoTo donothing
a = InputBox("enter the name")
s1 = ("name='" & Trim(a) & "'")
rs.Findfirst (s1)
If .nomatch Then
MsgBox "record not found"
Else
MsgBox "record found"
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
End If
Exit Sub
donothing:
MsgBox "error description"
End Sub
form1.vb
you can get lots of source code from 1000projects.com in diff languages....
yes
Linear search is necessary when we must search unordered sets. Linear search times across huge sets can be improved significantly by dividing the set amongst two or more threads that can execute on independent CPU cores.
Linear search
form1.vb
vvbvcvbn vb
wrtrwtgfe
The program should have a help area. search the helpe area for information about the debug information the program displays/
Sequential search of an object with in an array of objects is called as linear search.
you can get lots of source code from 1000projects.com in diff languages....
The linear search algorithm is a special case of the brute force search.
There no advantages to linear search other than searching for the first (or last) nodes. Linear search takes linear time with an average O(n/2) for each search.
Running time of a linear search is O(n)
the compexity of linear search in worst case is f(n) = n+1
high level language
yes