Expression Question

Stimulsoft Reports.NET discussion
Post Reply
MikeC
Posts: 51
Joined: Mon Jun 07, 2010 3:36 pm

Expression Question

Post by MikeC »

I'm writing a report that needs a field for either a business name (parcel.entity), or if that is blank then a first name and last name (parcel.[first name] parcel.[last name].

Sort of like an If/Else If/Else If/Else statement in Crystal syntax (Crystal syntax is the only one I'm familiar with).

Thanks!
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

Expression Question

Post by Brendan »

Code: Select all

{IIF(parcel.entity != string.Empty, parcel.entity, parcel.[first name] + " " + parcel.[last name])}
MikeC
Posts: 51
Joined: Mon Jun 07, 2010 3:36 pm

Expression Question

Post by MikeC »

Thanks-I appreciate it!
Post Reply