Microsoft
Software
Hardware
Network
Question : Clearing a combo box selection?
In the header of my form I have an alphabetical drop box that works. I can click on the arrow to jump to a record or type in some of the persons name and it will jump to their record. I also have a second box that does the same based on SSN.
If I select a record using a name and then I search on using SSN I have to clear the other box manually. Is there an automated was of clearing the opposite box?
Name box
SELECT [tblCaregivers].[ID], [tblCaregivers].[Caregiver
LastName]&
", " & [tblCaregivers].[Caregiver
FirstName]
AS Expr1 FROM [tblCaregivers] ORDER BY [tblCaregivers].[Caregiver
LastName],
[tblCaregi
vers].[Car
egiverFirs
tName]
SSN box
SELECT [tblCaregivers].[ID], [tblCaregivers].[Caregiver
SSN] FROM [tblCaregivers];
I have attached a screen shot
Answer : Clearing a combo box selection?
in the afterupdate event of the first combo box, clear the second combobox
private sub comboName_afterupdate()
me.comboSSN=""
end sub
Random Solutions
Command-line zip utility
Should I defrag our corporate servers??
Merge from Excel results in zero not text
how to print all unix command mesage to a mail
divide my wordpress post into pages
nested email distribution groups
How to create a flash object that displays data from a PHP file (data from mysql db)?
DHCP Reservation Name
SQL Data Connection from Excel 2007
What is the command for rails to reload the current page after executing code?