S
stefano.troiani
Hi,
I have a form based on a table that fetches all the records and shows
the first one when the form opens.
Inside this form I can filter the records based on a listbox choice
that simply adds a "...where..." condition to the previous "select
* ..." and Requery the form.
The filter is working well, I can see the total of records changing
according to the choice and I can browse the results, but....starting
from the second record.
Yes, the problem is that the first record never changes, no matter the
filter I choose, the first record, the one that appears on open, with
all its fields, is always there and the total of the filtered records
is always the sum of the records I filtered PLUS the first record of
the form.
I don't know how to get rid of that record when performing a filter,
any solution?
Thanks a lot,
stefano
I have a form based on a table that fetches all the records and shows
the first one when the form opens.
Inside this form I can filter the records based on a listbox choice
that simply adds a "...where..." condition to the previous "select
* ..." and Requery the form.
The filter is working well, I can see the total of records changing
according to the choice and I can browse the results, but....starting
from the second record.
Yes, the problem is that the first record never changes, no matter the
filter I choose, the first record, the one that appears on open, with
all its fields, is always there and the total of the filtered records
is always the sum of the records I filtered PLUS the first record of
the form.
I don't know how to get rid of that record when performing a filter,
any solution?
Thanks a lot,
stefano