Hello
I have the below code to delete a table if it exists, but it doesn't work could you help me where is the issue?
If Not IsNull(DLookup("Name", "MSysObjects", "Name='JIC Global'")) Then
DoCmd.DeleteObject acTable, "JIC Global"
Thank you
I have the below code to delete a table if it exists, but it doesn't work could you help me where is the issue?
If Not IsNull(DLookup("Name", "MSysObjects", "Name='JIC Global'")) Then
DoCmd.DeleteObject acTable, "JIC Global"
Thank you