Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<b>Second sort on the field</b>

Status
Not open for further replies.

hpai

Programmer
Nov 7, 2001
4
US
Hi,
I use a parameter field to change sorting as following:

If {?Sort By} = "Last Name" Then {Employee.LName}
Else {ORegion.ID}

Except Employee.LName, I also want Employee.FName to be the second sort. How do I add Employee.FName into my formula?
 
Create a formula field called EmployeeFullName and concatenate the two names -- {Employee.LastName}+" "+{Employee.FirstName} then change your existing formula:

If {?Sort By} = "Name" Then {@EmployeeFullName}
Else {ORegion.ID}



Software Support for Sage Mas90, Macola, Crystal Reports and Goldmine
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top