Envoyé par Van T. Dinh
1. Start with the "Startup" Form if you assigned a Startup Form in the
Startup Options ... If you use AutoExec Macro, check the Macro actions for
processes run by the Macro.
You can try remove the Startup Form from the StartUp Options, close the
database then re-open the database. If the Enter Parameter dialog box
doesn't appear, you know the problem is in the Startup Form!
2. In the Startup Form (or a Form opened by AutoExec), check:
* The Query or SQL String being used as the RecordSource for the Form and
make sure ALL Field names are correct since unrecognised Field name(s) will
be treated as Parameters and hence the prompt.
Run the Query/SQL by itself, i.e. not through the Form and see if the dialog
comes up. If it doesn't, you know the problem is not in the RecordSource
Query / SQL String.
* The Filter Property and the OrderBy of the Form. If you have anything in
these 2 Properties, delete and try your Form.
* If the code in the Startup Form opens a another Form or a Report or a
Query, you need to check these also.
There are other causes depending on the set-up of the Startup Forms /
actions of your AutoExec Macro but the above causes are the most common ...