CR Pro 10.0.0.533
I'm trying to show all instances of employees who've taken Defensive Driver Training. Unfortunately, quite a bit of this training has been entered into the database in various ways, with different course codes, and different class names.
I'm trying to get records selected with the following conditions:
1. Their registration status is Finished.
2. They've finished it within a certain number of years.
3. The appropriate codes are "HSI 340", "HSI 340B", OR "HSI 340C"
4. But NOT "HSI 700".
5. OR the course code can be anything else, as long as the word *defensive* in the class name, and the first two conditions are met.
Here's what one version of my formula looks like. I realize that my logic is just dumb, but I can't seem to figure out how to make this work, but it seems like it should be able to somehow.
{registration_style_view.Course_Code} = "HSI 340" or
{registration_style_view.Course_Code} = "HSI 340B" or
{registration_style_view.Class_Name} like "*defensive*" and
{registration_style_view.Registration_Status} = "F" and
{registration_style_view.Start_Date} > DateTime (2003, 12, 01, 08, 30, 00) and
{registration_style_view.Course_Code} <> "HSI 700"
Any suggestions/etc. appreciated!
-Roger Harness
I'm trying to show all instances of employees who've taken Defensive Driver Training. Unfortunately, quite a bit of this training has been entered into the database in various ways, with different course codes, and different class names.
I'm trying to get records selected with the following conditions:
1. Their registration status is Finished.
2. They've finished it within a certain number of years.
3. The appropriate codes are "HSI 340", "HSI 340B", OR "HSI 340C"
4. But NOT "HSI 700".
5. OR the course code can be anything else, as long as the word *defensive* in the class name, and the first two conditions are met.
Here's what one version of my formula looks like. I realize that my logic is just dumb, but I can't seem to figure out how to make this work, but it seems like it should be able to somehow.
{registration_style_view.Course_Code} = "HSI 340" or
{registration_style_view.Course_Code} = "HSI 340B" or
{registration_style_view.Class_Name} like "*defensive*" and
{registration_style_view.Registration_Status} = "F" and
{registration_style_view.Start_Date} > DateTime (2003, 12, 01, 08, 30, 00) and
{registration_style_view.Course_Code} <> "HSI 700"
Any suggestions/etc. appreciated!
-Roger Harness