Data validation problems

Auriga

New Member
Joined
Jul 16, 2003
Messages
31
Help please. We think this is probably very easy but is defeating us.

We have followed the advice on the board to prevent saving a record with a blank field using the validation rule <>" ". This works beautifully when we have a rule for only one field.
However, we have 3 fields we need to protect in this way. Why does it not work for the other two fields?

We also have a series of radio buttons. We need to ensure that at least one is selected before saving but are a bit stumped on how to do this.

Many thanks to you all once again
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
You need to set validation for all the fields.
 
Upvote 0
Thanks for all your help!

Hello to everyone who has been helping us with our problems. We are really pleased to be able to say that we have sorted ourselves out and we are proud of the results. So thanks to you all for the suggestions we have used, and for the suggestions that made us think about things differently so we managed to work out a solution for ourselves.

The validation rules were not working properly when applied to all the individual fields. They worked fine when there was only one rule on the form, but for some reason when we had three set up it only followed the first one. We have got round this by adapting some code posted by Corticus back in 2003 - many thanks for that too - that goes in the code on the save button.

We have also sorted out the data entry only problem by having the form set to add new record, and then hiding the navigation buttons at the bottom of the screen so that only the current record shows for the user. We know this is not foolproof, but it is definitely enough to fool the users we have!

Once again thanks for the help, it is very much appreciated.
Jo :biggrin: :biggrin: :biggrin:
 
Upvote 0

Forum statistics

Threads
1,221,893
Messages
6,162,662
Members
451,781
Latest member
DylantheD

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