Re: listbox property "bound field" in gridcontrol

Peter Eberlein <[email protected]> Mon, 11 Jan 2010 12:30:11 +0100
Newsgroups gmane.comp.openoffice.dba.user
Message-ID <[email protected]>
Hi Frank,
Am 11.01.2010 11:53, schrieb Frank Schoenheit, Sun Microsystems Germany:
> Hi Peter,
>
>> there are at least two ways to show data from another table in a
>> gridcontrol: either a table or a select statement.
>>
>> Assuming the first column in the other table is an id (foreign key in my
>> gridcontrol table), the second column is the value I want to show in the
>> gridcontrol:
>>
>> Is it the correct that:
>>
>> * this is not possible with using a table,  whatever value is set to
>>     the property bound field.
>>     The table shows always the value of the first column.
>> * this is only possible with a select statement, if the the first
>>     column is specified as that one I want to see in my gridcontrol.
>
> that's correct. That's one of the history quirks of the list box - the
> "display column" is always the first column of the result set which is
> used to fill the list.
>
so do you mind setting 
http://www.openoffice.org/issues/show_bug.cgi?id=108099 as an enhancement?

Regards

Peter