Subject | Re: AW: [IBO] View, filter or ... ? |
---|---|
Author | Nando Dessena |
Post date | 2001-03-05T09:39:12Z |
Cristian,
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.
--
____
_/\/ando
> *in query's PrepareSQL*a time bomb definately.
> 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 :)
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.
--
____
_/\/ando