Need Help? Contact the Espiya Helpdesk. CLICK HERE


Author Topic: REQ. searching record in database using inputbox in VB 6.0  (Read 801 times)

ֆ™JinDa™ֆ

  • 2006 Vanguards
  • Active - Three Stars
  • *
  • Posts: 401
  • Karma 1
  • Gender: Male
  • YOU WILL NEVER WIN.IF YOU NEVER BEGIN.
REQ. searching record in database using inputbox in VB 6.0
« on: March 18, 2009, 08:51:37 am »
salamat po s magrereply

dragknot11

  • 2006 Vanguards
  • Active - Top Level
  • *
  • Posts: 967
  • Karma 2
  • Gender: Male
  • Dont you wish you're boyfriend was hot like me...
Re: REQ. searching record in database using inputbox in VB 6.0
« Reply #1 on: March 18, 2009, 10:44:23 am »
a=inputbox("Bla bla")

If Adodc1.Recordset.EOF = True Then
Else
Adodc1.Recordset.MoveFirst
Adodc1.Recordset.Find "[Item_Code]='" & a & "'"
If Adodc1.Recordset.EOF = True Then
MsgBox "No Item Found on the Meralco Database!", , "No Item Found"
Else

End If
End If


'bayad ko ha.  ;D