Subject Re: [IBO] LookupCombo
Author Ronaldo Rezende Vilela Luiz
I alredy do this. It's a good idea. How can I change the width of the column
of the LoockupCombo? Is there a way to put it in autosize mode?

....
"Lucas Franzen" <luc@...> escreveu na mensagem
news:3CC9AB52.E4436507@......
>
>
> Ronaldo Rezende Vilela Luiz schrieb:
> >
> > > What do you mean by "registers"?
> >
> > A row.
> >
> > A want that a combobox with two colunms has this apearence.
> >
> > name of row of colunm1 - name of row of colunm 2
> >
> > A want to use a '-' to separate the colunms.
> >
> > For example: colunm first name and colunm last name. If a use ' ' to
> > separate the colunms, my result will "Helen Borrie" inside the combobox.
> > Then the user doen't know that exist more than one column there.
>
> Have you thought about using
>
> either a) a concatenated
> or b) a calculated
> field?
>
> a) the value is sent from the server
> (like: SELECT FIRSTNAME || ' ' LASTNAME AS NAME)
>
> b) the value is "generated" in the OnCalculatefield-vent of the Query
> (more code, but better handling if one of the fields is NULL)
>
> Regards
> Luc.
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>