B
Bakema
Hi there,
This is a really strange one, after a full day of working
on it, I become more puzzled the longer I look at it.
A have a form with a list box that can be populated by
different queries that are programmically set to the
listbox rowsource property through selecting items from
different comboboxes. The purpose is to make selections
on the overall recordset based on various criteria. So
the queries work on the same tables, but return more or
less records depending on the criterion choosen from the
comboboxes
The queries work fine, but once in a while not all
records appear in the listbox. I can't figure out exactly
why, sometimes they do all appear and sometimes not and I
have not been able to see any pattern in it. If I run the
same query several times by selecting the same item in a
combobox several times, the number of records shown
differs each time. Strange enough, when I export the
query recordset to Excel all records appear in the Excel
spreadsheet. Any idea why a listbox would not show all
records from a query?
Thanks for giving this some thought.
Bakema
This is a really strange one, after a full day of working
on it, I become more puzzled the longer I look at it.
A have a form with a list box that can be populated by
different queries that are programmically set to the
listbox rowsource property through selecting items from
different comboboxes. The purpose is to make selections
on the overall recordset based on various criteria. So
the queries work on the same tables, but return more or
less records depending on the criterion choosen from the
comboboxes
The queries work fine, but once in a while not all
records appear in the listbox. I can't figure out exactly
why, sometimes they do all appear and sometimes not and I
have not been able to see any pattern in it. If I run the
same query several times by selecting the same item in a
combobox several times, the number of records shown
differs each time. Strange enough, when I export the
query recordset to Excel all records appear in the Excel
spreadsheet. Any idea why a listbox would not show all
records from a query?
Thanks for giving this some thought.
Bakema