D
DawnTreader
Hello All
i have a main form that has a list box on it that uses a query to allow the
user to pick records to see on the main form. there are a bunch of combo
boxes and text boxes that the query uses as criteria to allow users to filter
the query. it was working fine, then i added a new filter box.
the filtering still works fine, but now when a user hits the exit button,
which causes a docmd.quit, it starts poping up parameter dialogs for each
text box that i use to put criteria in the query fields. it still exits, it
just pops up these boxes.
i took out the entire criteria and tried it and of course it fixes the
problem, but put the criteria back and it does it again.
i took the entire sql statement and put in in notepad temporarily, then
removed the criteria, saved, closed the application, right clicked and
compacted, then open the app and tried the exit, worked perfectly, no
dialogs. opened app, put the criteria back in compacted, opened the app
normally, exited and bang, dialogs for each criteria.
i have looked through my vba code on the form and there is nothing on the
exiting or closing of the form calling for a requery of the list box so i
dont understand why it is doing this. it has never done this before.
anyone have any idea as to why?
i have a main form that has a list box on it that uses a query to allow the
user to pick records to see on the main form. there are a bunch of combo
boxes and text boxes that the query uses as criteria to allow users to filter
the query. it was working fine, then i added a new filter box.
the filtering still works fine, but now when a user hits the exit button,
which causes a docmd.quit, it starts poping up parameter dialogs for each
text box that i use to put criteria in the query fields. it still exits, it
just pops up these boxes.
i took out the entire criteria and tried it and of course it fixes the
problem, but put the criteria back and it does it again.
i took the entire sql statement and put in in notepad temporarily, then
removed the criteria, saved, closed the application, right clicked and
compacted, then open the app and tried the exit, worked perfectly, no
dialogs. opened app, put the criteria back in compacted, opened the app
normally, exited and bang, dialogs for each criteria.
i have looked through my vba code on the form and there is nothing on the
exiting or closing of the form calling for a requery of the list box so i
dont understand why it is doing this. it has never done this before.
anyone have any idea as to why?