eblattner
Programmer
- Aug 10, 2000
- 33
I am trying to select records from a table. I want to display a field called ID. But I want to do this based on 4 fields called "what and a field called "Status". I have attached a small table as an example. I am using a formula like this.
If {table1.id.what} = "POLREP" and {table1.id.status} = "D"
and
If {table1.id.what} = "PROPSET" and {table1.id.status} = "D"
And
If {table1.id.what} = "INSVER" and {table1.id.status} = "D"
And
If {table1.id.what} = "DEM" and {table1.id.status} = "N"
I have used many variations of this formula as a record selector in Crystal Reports 8. It works fine until I add the last line for "DEM"
If {table1.id.what} = "POLREP" and {table1.id.status} = "D"
and
If {table1.id.what} = "PROPSET" and {table1.id.status} = "D"
And
If {table1.id.what} = "INSVER" and {table1.id.status} = "D"
And
If {table1.id.what} = "DEM" and {table1.id.status} = "N"
I have used many variations of this formula as a record selector in Crystal Reports 8. It works fine until I add the last line for "DEM"