Hi all,
Using Access 2000 on XP Pro PC.
I have a form that is based on a presaved query - all fine with this.
I also have a refresh button that takes the values from various unbound
controls on the form and uses them a the criteria for changing the
query definition that the form is based on - so far so good.
The final line of code behind the refresh is me.requery to refresh the
dataset.
The refresh does not seem to recognise the changed query definition and
reports the previous values.
However, if I manually open the control source query from the form
properties, I can preview the dataset and then on closing the control
source query the form reports the correct values.
What am i doing wrong here?
Many thanks,
Rob.