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
Copied oracle schema is slow
Debugging httplib when using urllib2
Exchange 2007 webdav
SQL Query: How to sum the result of two queries?
Understanding the behaviour of waitpid(-1, NULL, WNOHANG)
Trying to create a punch in time clock in excel
sending a file as attachment using UNIX mail/mailx command
Getting Invalid character value for cast specification. error when asp page calls sp
Data Migration
Issue with Excel Macro not running on any machine but one