I'm trying to do a report in CR10 from a SQL database (3rd party software called Authority Legal) with ODBC connection.
The problem I'm having is that the field I need to extract from - ItemAnswer.Alpha - contains both the address information and whether or the person was insured last year. The data I'm working with has been converted from an old dataease system so records exist for everthing.
I have created a sum to select only the records for people who were insured last year from the following formulas:
If {ItemAnswer.ItemLine_RSN} = 1380 then 1 else 0
If{ItemAnswer.Alpha} in ["x", "X"] then 1 else 0
I can set the selection criteria to only take records where this sum is equal to 2.
The problem I then have is that the address fields are based in the same table being the range
{ItemAnswer.ItemLine_RSN} in [1382 to 1387] with the answer in ItemAnswer.Alpha.
I need to be able to print the alpha answers from Lines 1382 to 1387 but only when the alpha answer to line 1380 is x or X.
Can anyone offer some advice?
Thanks! Flis
The problem I'm having is that the field I need to extract from - ItemAnswer.Alpha - contains both the address information and whether or the person was insured last year. The data I'm working with has been converted from an old dataease system so records exist for everthing.
I have created a sum to select only the records for people who were insured last year from the following formulas:
If {ItemAnswer.ItemLine_RSN} = 1380 then 1 else 0
If{ItemAnswer.Alpha} in ["x", "X"] then 1 else 0
I can set the selection criteria to only take records where this sum is equal to 2.
The problem I then have is that the address fields are based in the same table being the range
{ItemAnswer.ItemLine_RSN} in [1382 to 1387] with the answer in ItemAnswer.Alpha.
I need to be able to print the alpha answers from Lines 1382 to 1387 but only when the alpha answer to line 1380 is x or X.
Can anyone offer some advice?
Thanks! Flis