thegameoflife
Programmer
Is it possible in Access to use code to check for existence of a table?
If so do you have an example?
If so do you have an example?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub listaccesstables()
Dim catdb As ADOX.Catalog
Dim tblList As ADOX.Table
Set catdb = New ADOX.Catalog
catdb.ActiveConnection = CurrentProject.Connection
For Each tblList In catdb.Tables
If tblList.Name = "Chip_Extract" Then
MsgBox tblList.Name
End If
Next
Set catdb = Nothing
End Sub