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