Hello,
I am new to Crystal and would appreciate any help you can offer.
I have a report with a field called PPR which can be null or hold a number. This resides in table A.
In Table B the fields are Table, Code, Field, Desc.
Based on table A PPR, the description field needs to be pulled from table B. I have done the insert field and I can not figure out the FORMULA.
If this were SQL I would do something like -
If not isnull({Master.PPR}) then
select {CodeLookupsActive.Description} where {CodeLookupsActive.TableName}="MASTER" and
{CodeLookupsActive.FieldName}="PPR" and {CodeLookupsActive.Code}={Master.PPR}
I hope this is clear enough.
I am new to Crystal and would appreciate any help you can offer.
I have a report with a field called PPR which can be null or hold a number. This resides in table A.
In Table B the fields are Table, Code, Field, Desc.
Based on table A PPR, the description field needs to be pulled from table B. I have done the insert field and I can not figure out the FORMULA.
If this were SQL I would do something like -
If not isnull({Master.PPR}) then
select {CodeLookupsActive.Description} where {CodeLookupsActive.TableName}="MASTER" and
{CodeLookupsActive.FieldName}="PPR" and {CodeLookupsActive.Code}={Master.PPR}
I hope this is clear enough.