How to check table exist or not?
USING VB 6.0 AND ACCESS 2003
My code.
Cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\iTDC-ACS.MDB"
Cn.Open
cmdCardEvent.ActiveConnection = Cn
cmd.ActiveConnection = Cn
cmdcardevent1.ActiveConnection = Cn
cmd.ActiveConnection = Cn
cmd.CommandText = "DROP TABLE tmp_cardevent"
cmd.Execute
cmd.CommandText = "drop table tmp_MOI"
cmd.Execute
Here I want to check whether table exist then drop table the else no need.
How to check table exist or not?
Need VB 6 code Help?