code:

Dim N As String
N = InputBox(Combo1 & " search")
adodc1.recordset.find Combo1.List(Combo1.ListIndex " ' = ' " & N & " ' ")
if adodc1.Recordset.EOF then
msgbox "No File Records"
end if

What is the problem? What is the above code all about? can you explain?

What is the problem? What is the above code all about? can you explain?

may problem is....whene click search command botton...easy to research but when if i click again the search command botton....the msgbox well print it...what shall i do?

You mean that only one click on a button is allowed to do the command, if there is more then one click, the message will appear?

Hello nino_morata, you need to explain what you want done so it would be easy to give the right answer. Also, i guess you're working with vb6.0 and not vb.net so you could also raise same thread in vb6.0

You mean that only one click on a button is allowed to do the command, if there is more then one click, the message will appear?

yes...

can u have me?

Hello nino_morata, you need to explain what you want done so it would be easy to give the right answer. Also, i guess you're working with vb6.0 and not vb.net so you could also raise same thread in vb6.0

yes....im just a student rigth now

...sample code for datagrid which only one should appear if i going to search i

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.