Posted By


CaptainProton on 03/01/10

Tagged


Statistics


Viewed 1399 times
Favorited by 0 user(s)

deleteQuery(String)


/ Published in: Visual Basic
Save to your folder(s)

This method deletes a query with a given name.
Note: Requires the queryExists(String) method.


Copy this code and paste it in your HTML
  1. Private Sub deleteQuery(name As String)
  2. If queryExists(name) Then
  3. CurrentDb.QueryDefs.Delete name
  4. End If
  5. End Sub

Report this snippet


Comments


You need to login to view comments.