We help IT Professionals succeed at work.
Get Started

Limit Combobox to only 1 instance in the records

pdvsa asked
Last Modified: 2013-11-29

I have this form with cboBankType.
The form is Continous Forms with underlying table : tblBanks_Participating
ID = BankEnterID

I want to limit a users input on this cboBankType to only 1 occurence of a "Initial Issuing Bank" (the ID is =1 on this BankType)...meaning that there can only be 1 "Initial Issuing Bank".

When creating records, How can I limit a duplicate entry on cboBankType for only when the cboBankType ID is =1 which corresponds to  "Initial Issuing Bank"? (this means that the previous record has this banktype description already)...

cboBankType [BankType field name] has this as a row source:
SELECT tblBankType_dropbox.BankTypeID, tblBankType_dropbox.BankType FROM tblBankType_dropbox ORDER BY tblBankType_dropbox.BankTypeID;

Please ask if you have questions.  I am thinking that possibly there is some type of Validation rule you can setup or something pretty simple to limit to only one "Iniital Issuing Bank".
Watch Question
Most Valuable Expert 2012
Top Expert 2013
This problem has been solved!
Unlock 2 Answers and 5 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE