Problem with titeColumn()

Archived from the Xataface Users forum.

wisni1rr — Fri Feb 24, 2012 1:04 pm

Code: Select all
function titleColumn(){       return "BWA_ID";    }

I do not want “BWA_ID” in the spot. I need it to be a few different fileds such as

Code: Select all
function titleColumn(){       return "StreetNo"."StreetName"."City";    }

I need more than one field as a description in a many to many relationship to pull up existing records. Its very illogical to pull records based on a single field in my application.

Thanks for taking the time to read this!

Rich


shannah — Fri Feb 24, 2012 1:22 pm

titleColumn needs to return an acceptable SQL column expression.

Code: Select all
function titleColumn(){       return "CONCAT(StreetNo,' ', StreetName,' ', City)";    }

wisni1rr — Fri Feb 24, 2012 2:11 pm

Thank you, Steve!

That worked like a charm!!!