Access Forms help

thevolk

New Member
Joined
Sep 28, 2006
Messages
9
Hi All,
I have a couple of questions with a database I have taken over.

1) I'm trying to make a field on a form mandatory, so that if one of our Reps clicks save, and the telephone number is not completed, it will prompt them to complete the field. I'm not sure if this is possible, but any help would be appreciated.

2) The same form also has 3 check boxes. What we'd like to accomplish is to set it so that when our check box marked "Pick Up" is checked, that triggers the "approval code" field to become mandatory.

Any help would be much appreciated!
Thanks!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
There are two quick ways to resolve the Required issue.
Modify the table that the form is based on, click on the field you want users to have to fill in. Down in the lower section of the screen is an option to set Required to Yes/No. Set this to Yes. Users should not be able to leave that record until that required field contains data.

The other way is to enter code in you Save button. If the field is null, then msgbox the user that they must enter text in so-so field.

For now, I think I would steer you towards the table modification.
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,561
Members
449,038
Latest member
Guest1337

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