Show how to delete indexes using ADOX in VBA
Function DeleteIndexAdox()
'Purpose: Show how to delete indexes using ADOX.
Dim cat As New ADOX.Catalog
cat.ActiveConnection = CurrentProject.Connection
cat.Tables("tblAdoxContractor").Indexes.Delete "Inactive"
Set cat = Nothing
End Function
No comments:
Post a Comment