| View previous topic :: View next topic |
| Author |
Message |
mike Newbie
Joined: 07 Mar 2006 Posts: 3 Location: south africa
|
Posted: Mar 15th, 2006 07:58 AM Post subject: code for vb 6.0 search button |
|
|
| any one who help with code for vb 6.0 "search button", to search for records in a database. please help!! |
|
| Back to top |
|
smart Newbie
Joined: 19 Apr 2006 Posts: 6
|
Posted: Apr 19th, 2006 09:41 PM Post subject: |
|
|
Adodc1.RecordSource = "select * from G where 姓名='123'"
Adodc1.Refresh
If Adodc1.Recordset.RecordCount > 0 Then text1.text=Adodc1.Recordset.field("电话号码") else text1.text="" _________________ Nothing To Lose! |
|
| Back to top |
|
|