I have a main form with information on people hired and on this form I
have a button that you click to term an employee which opens a new
dialog window to enter a term date. Now it doesn't remove the
employee from the database but marks their record that they have been
termed by means of a checkbox in their record. The main form loads a
query to organize the table it pulls from. I want the order for the
form to match the query where termed employees are at the end of the
list.
So what I have written for code when you close the dialog window is:
Private Sub btnDone_Click()
Forms!frmEmployeeTable.Form.Requery
DoCmd.Close
End Sub
Now when it requeries to move the newly termed employee to the end (or
that was my hope) the main form disappears and my dialog window stays
open. I'm trying to keep main form window open but reorganize it
without having to exit the form and load it back up again.
Any help greatly appreciated.
~Narvs