I'm using CR2008 with an Oracle 10g db as my data source. I have a report which returns all countrys within a country group. Each country has an id which is a number field (ex. 200.00). Users have the option of selecting individual countries within the country group, which populates a selected countries field, which is a string of comma separated numbers (200, 250, 300, 350). If they select individual countries, I am only supposed to return those countries selected. I need a formula that compares the country id number to the values in the string and returns true if it appears in the string, or false if it does not, so I can suppress the countries not selected:
Country ID Country Selected Countries True/False
100 US (100, 150, 200, 250) True
125 France (100, 150, 200, 250) False
150 Italy (100, 150, 200, 250) True
Country ID Country Selected Countries True/False
100 US (100, 150, 200, 250) True
125 France (100, 150, 200, 250) False
150 Italy (100, 150, 200, 250) True