Results 1 to 1 of 1
  1. #1
    Join Date
    Feb 2003
    Posts
    3

    Unanswered: Check if object exists

    I am trying to build an IF statement that checks if a pirticular object exists. And then if it does exist I would like to delete it and import the new one.

    Here is what I am trying to do:
    If (object exists) then
    docmd.deleteobject
    else
    docmd.transferdatabase

    My question is how do I check object exists without using tabledef's etc.
    Thanks in advance
    Last edited by BRoche; 02-27-03 at 12:42.

Posting Permissions

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