How to search the data from ms access database in vb6 0

deepuhoney

Honorable
Dec 16, 2012
1
0
10,510
0
Hello,
how to display the searched data in vb6.0 wih using ms access and adodc connectivity ...ple tel me how it do ?????
 

zoehan

Honorable
May 14, 2013
1
0
10,510
0
"you need to use datagrid and adodc"
----sample code and sample table and field
adodc1.recordsource = "SELECT * FROM SAMPLE_TABLE WHERE SAMPLE_FIELD = '" + TXTSAMPLE.TEXT + "'" * you can add more...

NOTE: be sure to connect adodc to database and put this sample code (select * form sample_table) to recordsource of adodc, then connect the datagrid to adodc(in datasource of datagrid)
 

tnilk01

Honorable
Oct 3, 2013
2
0
10,510
0


 
Thread starter Similar threads Forum Replies Date
O Apps General Discussion 0
R Apps General Discussion 0
N Apps General Discussion 8
O Apps General Discussion 6
K Apps General Discussion 2
K Apps General Discussion 4
C Apps General Discussion 6
geofelt Apps General Discussion 3
J Apps General Discussion 1
M Apps General Discussion 6
Z Apps General Discussion 1
F Apps General Discussion 7
RepoDraghon Apps General Discussion 3
C Apps General Discussion 1
D Apps General Discussion 2
J Apps General Discussion 1
K Apps General Discussion 1
M Apps General Discussion 1
gigaman Apps General Discussion 1
tarmiricmi Apps General Discussion 5

ASK THE COMMUNITY