lauriesamh
Technical User
I'm using CR8.5.
I have a formula (@Name) to put a person's first, MI and last name together in the Group Header for the person's ID.
The @Name is a Summary (Maximum) of @Name in the detail record as there are occasions when two ID's are used for a person and their dependant.
Occasionally a person has no Middle Initial which causes Summary of @Name to be blank in the Group header. I tried to go around this with a second formula @MiddleInitial with no luck. Any ideas to do a maximum summary on a text formula?
@Name
{TableName.First}&" "&{@MiddleInitial}&" "&{TableName.Last}
@MiddleInitial
WhilePrintingRecords;
StringVar MiddleName:="";
If IsNull ({TableName.Middle}) then MiddleName:="" else
MiddleName:={TableName.Middle};
I have a formula (@Name) to put a person's first, MI and last name together in the Group Header for the person's ID.
The @Name is a Summary (Maximum) of @Name in the detail record as there are occasions when two ID's are used for a person and their dependant.
Occasionally a person has no Middle Initial which causes Summary of @Name to be blank in the Group header. I tried to go around this with a second formula @MiddleInitial with no luck. Any ideas to do a maximum summary on a text formula?
@Name
{TableName.First}&" "&{@MiddleInitial}&" "&{TableName.Last}
@MiddleInitial
WhilePrintingRecords;
StringVar MiddleName:="";
If IsNull ({TableName.Middle}) then MiddleName:="" else
MiddleName:={TableName.Middle};