Using a form with a 'one' record Control file Table

I

Isis

I want to use a single record 'Control' file Table - if I create a form to
update the table how do I ensure that only 'edits' - no adding or deleting
the record can happen - IE the Control file Table will only ever have a
single record in it (with multiple fields).

Thanks
 
D

Douglas J. Steele

Set the form's AllowAdditions and AllowDeletions properties to False.
 
D

Dirk Goldgar

Douglas J. Steele said:
Set the form's AllowAdditions and AllowDeletions properties to False.

I also like to give the table a primary key with a validation rule that
the key field must have the value 0. That way, there's no way a second
record could ever be added.
 
I

Isis

I also like to give the table a primary key with a validation rule that
the key field must have the value 0. That way, there's no way a second
record could ever be added.

Thanks to both of you.

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top