Access - Limit Forms to one record

SantasLittleHelper

Board Regular
Joined
Nov 25, 2016
Messages
77
Is it possible for a form to be limited to one record?

e.g. Can I make it so that 'Form1' can only edit the first record in the table? And then 'Form2' can only edit the second record?

I don't want people to be able to create new records, just edit the existing record that I'd like assigned to their form.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
You can set up a form to not allow creation of new records. Just go to the Form properties, and on the Data tab, set "Allow Additions" to "No".

You do not need multiple Forms, just one Form that is based on a dynamic query. How is it determined which record a person should see?
Just put that in the Criteria of your Query, and it will only return that record.
 
Upvote 0
You can also prevent deletion of records - set Allow Deletions to No also.
(just in case you wanted to know);)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top