I do have a Form which displays the list of all the employees.
I want to set an unbound combo box having field values of F & M
On selecting the M, the list should display Male employees & vice versa.
Regards
Alex
I do have a Form which displays the list of all the employees.
I want to set an unbound combo box having field values of F & M
On selecting the M, the list should display Male employees & vice versa.
Regards
Alex
put this code in the after update event to filter the gender....
Code:'---------------- sub cboSex_AFTERUPDATE() '---------------- If IsNUll(cboSex) Then Me.FilterOn = False Else Me.Filter = "[Sex]='" & cboSex & "'" Me.FilterOn = True End If end sub
Thanks Ranman.
Your solution Worked.
Alex