Access - Required Fields Issue

SantasLittleHelper

Board Regular
Joined
Nov 25, 2016
Messages
77
I currently have 4 forms which different fields from the same table. These fields are 'required'.

When I go to save the form with the data inputted, it says I cant save it because there are some other required fields that are blank. - These fields are actually on a different form but are still for the same record in the table.

Is there a way to have the fields required only on certain forms?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Note that if the fields are marked required at the table level (in the table definition itself / table properties) then there is absolutely no way to save the record without all the required fields.
 
Upvote 0
I currently have 4 forms which different fields from the same table. These fields are 'required'.


When I go to save the form with the data inputted, it says I cant save it because there are some other required fields that are blank. - These fields are actually on a different form but are still for the same record in the table.

Is there a way to have the fields required only on certain forms?

I agree with the others that you have a design issue.

Using multiple forms to manage the workflow is common. Setting fields to be required is good.

I believe the issue is with your table design not properly normalized

After 30+ years designing databases and creating accounting solutions, I have learned that your goal should be to only add records (transactions). Rarely modify existing records. That is what all this stuff in database normalization theory boils down to. This has been a "Best Practices" principle in Accounting for over 2000 years. I find it applies to all databases, not just accounting databases.

Based on what you have posted, I do believe that your table needs to be split up into a master table and at least one child/related table. Each form will manage a different record type. Note: A child table can hold multiple record types.

When the table is split up properly (normalized) then you should not have any issue the required fields.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,221,687
Messages
6,161,287
Members
451,695
Latest member
Doug Mize 1024

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