Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Smart Combo Boxes 2    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Continuous Form
Monica Jones 
       
2 months ago
Is there a way to do this with a continuous form?

I have a database with a bunch of subforms that list out the manager(s) for different locations. I don't present historical info (I have a change log). But currently if a manager retires and I turn off the IsActive they won't display in the dropdown. I'd like them to appear until their replacement has been announced. At the same time, I don't want retirees to appear in my dropdown list when I do go to update it.
Monica Jones OP  @Reply  
       
2 months ago

Raymond Spornhauer  @Reply  
          
2 months ago
The problem you are describing wants a 3'rd option where the IsActive only offers 2 options.

To me it sounds like your solutions is to change the IsActive(Yes/No) into a Combo Box with additional options.  You'd have to modify any other query's, forms and reports... possibly VBA code.

Another option might be to add another Yes/No field to the Table and modify your queries to match.

-Raymond
Donald Blackwell  @Reply  
        
2 months ago
Another option might be to change the IsActive field from a yes/no field to a numeric field (pretty much any numeric datatype other than "Byte") and then set the Triple State property in your form to yes.

then, in your combo box, where you check for IsActive, set it to <>0. This way, you'd have 3 options with one field.
Monica Jones OP  @Reply  
       
2 months ago
Thanks for the replies. I need you to bring it down a notch, that developer badge is misleading, I'm almost done with Expert level. The TechHelp videos are just so much more FUN than class lol.

It isn't a normal checkbox. I used the code from this comment to make a large check box (https://599cd.com/blog/display-comment.asp?CommentID=52157). I treat it like a regular checkbox but if I'm understanding right, it might make triple state easier?
Raymond Spornhauer  @Reply  
          
2 months ago
I would check out this video by Rick.  I think this will help you.

Using Triple State Check Boxes in Microsoft Access

-Raymond
Donald Blackwell  @Reply  
        
2 months ago
Hi Monica, sorry if I jumped too far ahead.

Before we get too far, I guess, maybe what we proposed might be more than what you stated you need. The triple state video we shared will help accomplish the task in the way I mentioned, but it might be overkill now that I've re-read your post.

If all you want is for their name to show up in the combo boxes until they've been replaced, you don't need to do so much work. A simpler solution may be the one Richard offered in the Extended Cut of his Hide Inactive video.

With this method, you only need to slightly modify the Query or SQL behind the combo box row source you still want them to show up in until they are replaced.
Monica Jones OP  @Reply  
       
34 days ago
@Donald thanks for your reply. The way mine is set up is as a combobox on a continuous subform, so there isn't a way to do the ID=ID to include the recently retired person. What it has gotten me thinking is to change the source of the combo to an unfiltered employee list and then use Me.NewRecord to somehow filter the dropdown. I haven't used Me.NewRecord before, is this possible?
Donald Blackwell  @Reply  
        
34 days ago
If you filter the dropdown in any record, even me.newrecord, it might affect the appearance of all the other records. I don't understand how your combo box is set up I guess as it should be as simple as adding an "OR" criteria to the query (since it's already checking IsActive)
Monica Jones OP  @Reply  
       
33 days ago
The problem is that even if I switch to my unfiltered query, I can't add the current contents of the combobox to it as an OR filter because the ID will always match the ID. I don't have a secondary location to reference, and if there was more than one manager, I don't think that would work either. It hasn't been an issue before, this was just something that would have been nice.
Donald Blackwell  @Reply  
        
33 days ago
Can you do something in the filter or where part like:

WHERE IsActive = True OR ID = Forms!MYFORMNAME!ID

This would show it if it's Active OR if it equals the ID on the current record/row of you continous form

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Smart Combo Boxes 2.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/8/2026 7:49:48 PM. PLT: 0s