jcrawford08
Technical User
Hi All,
I'm running CR XIR1; I'm having an issue with some rather complex user fields I'm stringing together into one massive "summary" formula. I can get each of the fields to display data themselves, so something is skewing it in the formula I'm using.
When I place the formula {@Reference Information} into the report, it shows blank - not even showing the plain text spliced into it...
Not sure if it applies but the fields come from separate tables that all had to be left outer joined into the report...
As always, any help is GREATLY appreciated...
stringvar action;
stringvar effdate;
stringvar dob;
stringvar ssn;
stringvar mcrid;
stringvar npinum;
stringvar relation;
stringvar whenownr;
stringvar whenmgr;
if (isnull({USR_UDQUES_56.ANS_TEXT}) then action:="Information Not Entered" else
action:=totext({USR_UDQUES_56.ANS_TEXT});
if isnull({USR_UDQUES_57.ANS_TEXT}) then effdate:="Information Not Entered" else
effdate:=totext({USR_UDQUES_57.ANS_TEXT});
if isnull({USR_UDQUES_52.ANS_TEXT}) then dob:="Information Not Entered" else
dob:=totext({USR_UDQUES_52.ANS_TEXT});
if isnull({USR_UDQUES_51.ANS_TEXT}) then ssn:="Information Not Entered" else
ssn:=totext({USR_UDQUES_51.ANS_TEXT});
if isnull({USR_UDQUES_53.ANS_TEXT}) then mcrid:="Information Not Entered" else
mcrid:=totext({USR_UDQUES_53.ANS_TEXT});
if isnull({USR_UDQUES_54.ANS_TEXT}) then npinum:="Information Not Entered" else
npinum:=totext({USR_UDQUES_54.ANS_TEXT});
if isnull({USR_UDQUES_50.ANS_TEXT})then relation:="Information Not Entered" else
if instr(totext({USR_UDQUES_50.ANS_TEXT}),"Other")=1 and isnull({USR_UDQUES_55.ANS_TEXT}) then relation:="Other Selected and Nothing Specified" else
relation:=totext({USR_UDQUES_50.ANS_TEXT});
if isnull({USR_UDQUES_58.ANS_TEXT}) then whenownr:="Information Not Entered" else
whenownr:=totext({USR_UDQUES_58.ANS_TEXT});
if isnull({USR_UDQUES_59.ANS_TEXT}) then whenmgr:="Information Not Entered" else
whenmgr:=totext({USR_UDQUES_59.ANS_TEXT});
{RV_Practitioner_References.Reference_name}& chr(13)&
"Application is submitted to: "& action & " - Effective: "&effdate & chr(13)&
"DOB: "& dob & chr(13)&
"SSN: "& ssn & chr(13)&
"State Born in: "&{RV_Practitioner_References.Reference_state} & chr(13)&
"Country Born in: " & {RV_Practitioner_References.Reference_country} & chr(13)&
"Medicare Number: "& mcrid & chr(13)&
"NPI Number: " & npinum & chr(13)&
"Relationship to Supplier: " & relation & chr(13)&
"Effective Date became Owner: " & whenownr & chr(13)&
"Effective Date became Manager: " & whenmgr
Thoughts?
Thanks!
Not in word only, but in deed also... 1Jn3:18
I'm running CR XIR1; I'm having an issue with some rather complex user fields I'm stringing together into one massive "summary" formula. I can get each of the fields to display data themselves, so something is skewing it in the formula I'm using.
When I place the formula {@Reference Information} into the report, it shows blank - not even showing the plain text spliced into it...
Not sure if it applies but the fields come from separate tables that all had to be left outer joined into the report...
As always, any help is GREATLY appreciated...
stringvar action;
stringvar effdate;
stringvar dob;
stringvar ssn;
stringvar mcrid;
stringvar npinum;
stringvar relation;
stringvar whenownr;
stringvar whenmgr;
if (isnull({USR_UDQUES_56.ANS_TEXT}) then action:="Information Not Entered" else
action:=totext({USR_UDQUES_56.ANS_TEXT});
if isnull({USR_UDQUES_57.ANS_TEXT}) then effdate:="Information Not Entered" else
effdate:=totext({USR_UDQUES_57.ANS_TEXT});
if isnull({USR_UDQUES_52.ANS_TEXT}) then dob:="Information Not Entered" else
dob:=totext({USR_UDQUES_52.ANS_TEXT});
if isnull({USR_UDQUES_51.ANS_TEXT}) then ssn:="Information Not Entered" else
ssn:=totext({USR_UDQUES_51.ANS_TEXT});
if isnull({USR_UDQUES_53.ANS_TEXT}) then mcrid:="Information Not Entered" else
mcrid:=totext({USR_UDQUES_53.ANS_TEXT});
if isnull({USR_UDQUES_54.ANS_TEXT}) then npinum:="Information Not Entered" else
npinum:=totext({USR_UDQUES_54.ANS_TEXT});
if isnull({USR_UDQUES_50.ANS_TEXT})then relation:="Information Not Entered" else
if instr(totext({USR_UDQUES_50.ANS_TEXT}),"Other")=1 and isnull({USR_UDQUES_55.ANS_TEXT}) then relation:="Other Selected and Nothing Specified" else
relation:=totext({USR_UDQUES_50.ANS_TEXT});
if isnull({USR_UDQUES_58.ANS_TEXT}) then whenownr:="Information Not Entered" else
whenownr:=totext({USR_UDQUES_58.ANS_TEXT});
if isnull({USR_UDQUES_59.ANS_TEXT}) then whenmgr:="Information Not Entered" else
whenmgr:=totext({USR_UDQUES_59.ANS_TEXT});
{RV_Practitioner_References.Reference_name}& chr(13)&
"Application is submitted to: "& action & " - Effective: "&effdate & chr(13)&
"DOB: "& dob & chr(13)&
"SSN: "& ssn & chr(13)&
"State Born in: "&{RV_Practitioner_References.Reference_state} & chr(13)&
"Country Born in: " & {RV_Practitioner_References.Reference_country} & chr(13)&
"Medicare Number: "& mcrid & chr(13)&
"NPI Number: " & npinum & chr(13)&
"Relationship to Supplier: " & relation & chr(13)&
"Effective Date became Owner: " & whenownr & chr(13)&
"Effective Date became Manager: " & whenmgr
Thoughts?
Thanks!
Not in word only, but in deed also... 1Jn3:18