Posted By

CaptainProton on 03/01/10


delete query access

Versions (?)


 / Published in: Visual Basic

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

  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  

You need to login to post a comment.