in a continuous form youd have it show all physician and contracts.
in the form header put 2 unbound combo boxes: cboDr, cboContract
the user can do 1 or the other or both. (tho you dont need Dr, if you have Contract)
but a FIND button on the header too, then the CLICK event of this button will filter the data:
Code:
'----------------
sub btnFilter_click()
'----------------
dim sWhere as string
sWhere = "1=1"
if not IsNUll(cboDr) then sWhere = sWhere & " and [phsician]='" & cboDr & "'"
if not IsNUll(cboContract) then sWhere = sWhere & " and [Contract]='" & cboContract & "'"
If sWhere = "1=1" Then
Me.FilterOn = False
Else
Me.Filter = sWhere
Me.FilterOn = True
End If
end sub