Database Search

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sirimanna
    New Member
    • Apr 2007
    • 21

    #1

    Database Search

    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
  • Ali Rizwan
    Banned
    Contributor
    • Aug 2007
    • 931

    #2
    Originally posted by sirimanna
    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.recordse t.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.recordse t.find "Name="&s

    if i dont understand ur problem then plz explain it to me im here to answer u.
    Bye

    Comment

    Working...