Access - Limiting Records

SantasLittleHelper

Board Regular
Joined
Nov 25, 2016
Messages
77
I currently have a field which has a drop-down of groups which can be assigned to the client (record)

Is it possible to limit the number of people who are assigned to a group?

E.g.
10 Records to Group 1
10 Records to Group 2 etc..

If this is possible, is it also possible to create a validation / pop-up to tell the user that the group is full?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
You might want your drop down to include only groups with nine or less. Or have a two column list in it:
Group 1 | Full
Group 2 | Available
Group 3 | Available

you can also use a form before update event to validate the number of people assigned to a group before making the updates/insertions.
 
Upvote 0
Thanks for replying. I'm not very good with Access so how would I go about having a 2 columned list? - Presuming the availability can be updated
 
Upvote 0
Nice resource on combo boxes!

In my sample I have a combo box requery fire on the oncurrent event.
 
Upvote 0

Forum statistics

Threads
1,225,611
Messages
6,185,994
Members
453,334
Latest member
Prakash Jha

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