A
Amon Ra
I have a list box that gets it's rowsource from an sql
statement in a vba code behind a seach button. The SQL
statement gets it's where clause built at run time, the
SQL selects it's record from a table.
The first click of the button displays records matching
supplied criteria, any change of the criteria will only
display a few records, this few records always match the
supplied criteria however there should be more records
displayed. Other times it will not display any record even
though there are records that match the supplied criteria.
Any ideas as to why I'm getting this behaviour ?
Thanks in advance
statement in a vba code behind a seach button. The SQL
statement gets it's where clause built at run time, the
SQL selects it's record from a table.
The first click of the button displays records matching
supplied criteria, any change of the criteria will only
display a few records, this few records always match the
supplied criteria however there should be more records
displayed. Other times it will not display any record even
though there are records that match the supplied criteria.
Any ideas as to why I'm getting this behaviour ?
Thanks in advance