Crystal Reports & SQL Reporting Services Training Consultants
Account Log in:
Any situation worth understanding is confusing
Institute of IT Trainers - Freelance Trainer of the Year 2006 & 2009
Liverpool Business Connect Member
  Maximum Impact Solutions Limited - Reporting Solutions, Creating Answers
Reporting Solutions - Creating Answers, Crystal Reports, Dashboarding (Xcelsius) & SQL Reporting Services

The Maximum Impact Solutions Blog Feed ME!!!!


How Do I Extract the First Name from a Contact Field in Crystal Reports XI?

I was asked during a recent training session "How Do I Separate the First Name from the Surname in a Contact Name Field in Crystal Reports XI?"


The delegate needed to create a letter just using the first name part of a field that held the full name.

To separate the first name from the surname within a field, one will have to use two string functions, Left and InStr.

The formula to do this is:

Left({Tablename.Fieldname},InStr({Tablename.Fieldname}," ")-1)

If you have any questions, leave us a comment below, or need any assistance, please do not hesitate to Contact Us


Name *

Email Address *

Comment *

To prove you are human what is:

59 + 51 =