Subject Re: AW: [IBO] View, filter or ... ?
Author Nando Dessena

> *in query's PrepareSQL*
> q.SQLWhereItems.Append('year='+IntToStr(year));
> q.SQLWhereItems.Append('month='+IntToStr(month))
> Works smoothly and pretty fast. Too bad I have to travel through all
> the forms and pay attention to put these statements in all queries,
> but heh... not everything can be done using the mouse and only 2
> clicks :)

a time bomb definately.
If you ever need to change the composition of your filter, you are bound
to experience the same journey again.
IOW, encapsulate as much as you can.