I have a situation in a query where I need to display a value based on the existance of another column. In this case, there is a FirstName column, LastName column, and CompanyName column.
If there is a first name and last name then I want to display "LastName, FirstName" but if there are not values then I want to display just the CompanyName.
Is this best done with field expressions (and if so, how?) or with a user-defined function on the database side?
Thanks!