R
Rick
I have a continuous form that lists assignemnts in our department. at the
top of the form I have combo boxes that allow the user to limit the entries
byt supervisorID and employeeID. The underlying query has criteria that
says Like [forms]![FrmOnlineWIP].[FindSupervisor] & "*" and
Like [forms]![FrmOnlineWIP].[FindUser] & "*"
There is also a button labeled "Requery" When clicked, the code behind it
is Me.Requery
This normally works great, but if you put in an invalid combination (an
supervisor along witn an employee who does not work for him/her) then the
form displays no results. The problem is that the two combo boxes
previously mentioned blank themselves out on the screen. I can click on
them, select an id from the resulting drop-down list, but as soon as I click
outside of that box, the field returns to a blank value. The form starts
acting very erratic at this point, and it will not display more records
until it is closed and reopened.
Any ideas on what I did wrong? Is 'requery' the correct command?
Thanks for your help. Let me know if you need more details.
Rick
top of the form I have combo boxes that allow the user to limit the entries
byt supervisorID and employeeID. The underlying query has criteria that
says Like [forms]![FrmOnlineWIP].[FindSupervisor] & "*" and
Like [forms]![FrmOnlineWIP].[FindUser] & "*"
There is also a button labeled "Requery" When clicked, the code behind it
is Me.Requery
This normally works great, but if you put in an invalid combination (an
supervisor along witn an employee who does not work for him/her) then the
form displays no results. The problem is that the two combo boxes
previously mentioned blank themselves out on the screen. I can click on
them, select an id from the resulting drop-down list, but as soon as I click
outside of that box, the field returns to a blank value. The form starts
acting very erratic at this point, and it will not display more records
until it is closed and reopened.
Any ideas on what I did wrong? Is 'requery' the correct command?
Thanks for your help. Let me know if you need more details.
Rick