Results 1 to 2 of 2
  1. #1
    ramdandi is offline Novice
    Windows 7 32bit Access 2000
    Join Date
    Dec 2011
    Posts
    4

    check empty table


    how to put condition in a macro to check if the table is empty then throw error else process query?

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    I don't use macros but you should investigate DCount() function.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. check a value on a table
    By udik in forum Programming
    Replies: 2
    Last Post: 12-05-2011, 03:57 AM
  2. Replies: 4
    Last Post: 11-20-2011, 01:08 PM
  3. how do i check against a table?
    By cheeese in forum Queries
    Replies: 1
    Last Post: 03-19-2011, 11:09 AM
  4. Check if fields are empty
    By Doggfather22 in forum Forms
    Replies: 3
    Last Post: 12-02-2010, 11:03 AM
  5. Deleting empty columns from a table
    By kapil0712 in forum Programming
    Replies: 3
    Last Post: 05-17-2010, 12:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums