Creating System Tables in Access

November 6, 2009 by datapig Leave a reply »

I’ve got a lot of writing to do today and this weekend. So today’s post will be quick and sweet.

Did you know that you can create your own system tables in Access? That’s right; you can create tables that act like system tables.

Here’s how to do it:

 

In this example, I’ve got a table called Application_Log. This table holds important variables for my Access application. While the user is in runtime, I update, and log key variables into this table.

I want to hide this important table with the system objects in Access.

 

 

All I have to do is prefix my table name with ‘Usys’. This automatically gives the table the status of “System Object”, hiding it instantly.

 

It looks like the table disappeared, but I can find it by going to Access Options -> Current Database -> Navigation Options, then placing a check next to Show System Objects.

 

A couple of notes:

  1. You can also use this trick on Queries, Reports and Forms. That is to say, you can also prefix them with ‘Usys’ to hide them with system objects.
  2. This also works in Access 2003. You can view system objects in Access 2003 by going to Tools – > Options -> View, then placing a check next to Show System Objects.

RELATED STUFF

  1. Finding and Replacing Nulls in Access
  2. ActiveX Controls and Intellisense
  3. Creating a Histogram in Access
  4. Transposing a Dataset in Access
  5. Building Access Macros is a Drag
  6. Getting to Workdays in Access
Advertisement

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>