Hi all
i could not joine MS Access table to VB the code i write below
Private Sub Form_Load()
Set cn = New ADODB.connectio n
cn.Provider = "Microsoft.jet. oledb.4.0"
cn.Open "C:\db1.mdb "
Set rs = New ADODB.Recordset
rs.Open "tbl", cn, adOpenDynamic, adLockOptimisti c
Show
Call DisplayTheCurre ntRecord
End Sub
My Database name is db1 and table name tbl.
Please help me.
i could not joine MS Access table to VB the code i write below
Private Sub Form_Load()
Set cn = New ADODB.connectio n
cn.Provider = "Microsoft.jet. oledb.4.0"
cn.Open "C:\db1.mdb "
Set rs = New ADODB.Recordset
rs.Open "tbl", cn, adOpenDynamic, adLockOptimisti c
Show
Call DisplayTheCurre ntRecord
End Sub
My Database name is db1 and table name tbl.
Please help me.
Comment