I would personally go for something like this:
VB Code:
WHERE ((@From Is Null) OR ([tblLoans].Created >= @From)) AND ((@To Is Null) OR ([tblLoans].Created <= @To))) AND ...
|
Results 1 to 17 of 17
Threaded View
|
Click Here to Expand Forum to Full Width |