I am trying to find a way to generate a dropdown list of items from a table in the results pane, similar to how the results look in edit mode for an enum field. Consider:
select
Resorts.ID,
Resorts.Name,
Resorts.Description,
Resorts.OwnerID,
ResortManagers.CompanyName,
Resorts.City,
Resorts.Region,
Places.Name
from
Resorts
left join
ResortManagers
on
ResortManagers.ID = Resorts.OwnerID
left join
Places
on
Places.ID = Resorts.Region
where
ResortManagers.CompanyName = 'Foo' and
Resorts.State = 'MA';
I would love to be able to generate a list of Places to select for each record. Is there a way to do this in the gui?