"John S. Ford, MD" wrote in message
...
I changed the DoCmd.OpenForm to simply open it without the strFinalWHERE
and the OpenArgs argument:
DoCmd.OpenForm "frmAdmissionEntryForm"
and commented out the code using the OpenArgs argument in
frmAdmissionEntryForm.
When I do this, the form's records ARE sorted correctly (but obviously not
filtered). So it appears to be something related to the DoCmd.OpenForm
code I'm using.
I suspect that it's something in the code you commented out, that is
processing the OpenArgs argument. Please post that code.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)