By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,986 Members | 1,960 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,986 IT Pros & Developers. It's quick & easy.

Database Search

P: 21
Dear anyone

I am developing a Visual Basic 6 application. I have a problem with linking and searching database.
I have already linked my database but when i tried to search it to my application it doesn't working.
Can you tell me the how to do codings.
If you can please send me the codings.

Thank You
Sep 4 '07 #1
Share this Question
Share on Google+
1 Reply


Ali Rizwan
100+
P: 927
Dear anyone

I am developing a Visual Basic 6 application. I have a problem with linking and searching database.
I have already linked my database but when i tried to search it to my application it doesn't working.
Can you tell me the how to do codings.
If you can please send me the codings.

Thank You
Hi
If you are searching for an integer record and using ADODC then use
adodc1.recordset.find "Sr="& text1.text
and if you are using Data then
data1.find......

if you want to find any string then use
dim s as string
s=text1.text
adodc1.recordset.find "Name="&s

if i dont understand ur problem then plz explain it to me im here to answer u.
Bye
Sep 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.