This topic is locked
[SOLVED]

 Custom Display field

2/27/2012 11:44:24 AM
PHPRunner General questions
A
ant author

I'm using a custom display field as for a lookup table. I'm sure this is something simple but I can't figure it out.
I created a view with 2 tables;

  • Hotel Name
  • hotel contact


SQL Query

SELECT

hotelleadcontact.ID,

hotelleadcontact.HotelContactID,

hotelleadcontact.LeadID,

hotels.Hotel Name,

hotel contacts.First Name,

hotel contacts.Last Name,

hotel contacts.E-mail Address,

hotel contacts.Job Title,

hotel contacts.Business Phone,

hotel contacts.Home Phone,

hotel contacts.Mobile Phone,

hotel contacts.Fax Number

FROM hotelleadcontact

INNER JOIN hotel contacts ON hotelleadcontact.HotelContactID = hotel contacts.ID

INNER JOIN hotels ON hotel contacts.Company_ID = hotels.ID

ORDER BY hotel contacts.First Name

I want to lookup the hotel contact name & surname but also display the hotels.Hotel Name in the lookup table. I've created a custom lookup display field to include first name and surname but not sure how to include Hotel Name to the display field;

concat(First Name, ' ',Last Name)
A problem im having with the dispaly field above is that some of the hotel names is not visible. If I select the blank space it includes the hotel contact anyway. If I only use First Name all the records are visible, very confusing

Sergey Kornilov admin 2/27/2012

This is not possible in version 6.0. We are adding an option to use Custom View as a lookup wizard source in PHPRunner 6.1.
Beta version is expected later this week.

A
ant author 2/28/2012



This is not possible in version 6.0. We are adding an option to use Custom View as a lookup wizard source in PHPRunner 6.1.
Beta version is expected later this week.


Thanks, please let me know when the beta version is available.