/ Published in: Visual Basic
This method deletes a query with a given name.
Note: Requires the queryExists(String) method.
Note: Requires the queryExists(String) method.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Private Sub deleteQuery(name As String) If queryExists(name) Then CurrentDb.QueryDefs.Delete name End If End Sub