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
Removing plus "+" sign from Dynamic Google Adwords in url
SMTP connect failed to exchange server 2007
Importing a form via VBA
What is "generic pup.g" ?
Outlook doesn't open new empty mail anymore
Outlook hangs and retrieving data from server
Need to move webapps in Tomcat
Can I restore a PDF Document once it has been saved as Image datatype?
Best Practices For Upgrading To 2003 Native Domain?
Sending a signal to processes on a queue