I am creating a fixed width report.
This is my formula so far:
{PREH.LastName}+ ','+ space(1) + {PREH.FirstName} + space(1) + Left({PREH.MidName},1)
The problem I have is that this cannot go over 30 characters. I know that I can do
formuala above + space(30-len(forumala above)
This will give me what I need but the trick is that this will be over 30 characters long for some employees. I need to abbreviate the first name to however many characters are left if this happens.
This is my formula so far:
{PREH.LastName}+ ','+ space(1) + {PREH.FirstName} + space(1) + Left({PREH.MidName},1)
The problem I have is that this cannot go over 30 characters. I know that I can do
formuala above + space(30-len(forumala above)
This will give me what I need but the trick is that this will be over 30 characters long for some employees. I need to abbreviate the first name to however many characters are left if this happens.