Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Aug 2005
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Kill command (Acess 2000)

    I need to have a command deleting any database availabe coresponding to the constants or the paths shown below:
    Public Const AuVa As String = "C:beReviziaVa.mdb"
    Public Const AuPl As String = "C:beReviziaPl.mdb"
    Public Const AuBl As String = "C:beReviziaBl.mdb"
    Public Const AuHa As String = "C:beReviziaHa.mdb"
    Public Const AuTa As String = "C:beReviziaTa.mdb"
    Public Const AuTr As String = "C:beReviziaTr.mdb"
    Public Const AuSz As String = "C:beReviziaSz.mdb"
    Public Const AuBs As String = "C:beReviziaBs.mdb"

    I imagine the code to be like that:
    Kill(AuVa Or AuPl Or etc )
    Can i do that ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Kill command (Acess 2000)

    No, that is not possible. Use

    Kill AuVa
    Kill AuPl
    etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •