Put this into a formula instead of into the Select Expert. Take out the booleanvar because you don't need it. For this example, I'll call this formula "SelectIt"
In the Select Expert, take out all of what you have and type in:
The problem with using a formula like this is that the filter will NOT be passed to the database. Instead, Crystal will pull in all of the data and apply the filter in memory so it's going to slow down your report.
-Dell