Create a Boolean Yes/No field with a unique index. (It could be the primary
key field.) Set the field Validation Rule so that it must be True, or it is
not accepted. Normally you would not display this special field to the user
form, and you would pre-create the single record. Your form would allow the
user to edit the other fields but not delete the record.
You can also enforce non-deletion in the database by adding an enforced
relationship to a hidden child table (or to itself) with no cascading
deletes permitted. But it is easier to just do it in the form, if you are
not worried about external user queries deleting the record.
- Steve
<JackonLI> wrote
Quote:
I am using Access 2007 and I just can't figure out how to create a one
record table. Could someone help me out?
Thank you. |