>Hello again
>
>No, still getting the same results and still not restricting to only one operator. :-(
Put all Dates in where clause in ( ) and leave AND outside them:
WHERE (............) AND op.Code == lnOpCode
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.