Jump to content

TUniDBLookupComboBox + TUniDBGrid


adragan

Recommended Posts

I tried to put a TUniDBLookupComboBox in a TUniHiddenPannel

and connect it to a column in a TUniDBGrid.

 

Ex :

table Orders(

order_id integer,

.............

status integer

)

 

table OrderStatus (

status integer,

expl varchar(20)

)

 

Is it possible to list in the Unidbgrid column "Expl" using UniDBLookupComboBox ?

Also when choosing the "expl" value , field "status" to be updated in the Orders table.

 

I tried various combinations. No go !

 

Am I doing something wrong or it is a bug ?

Link to comment
Share on other sites

Maybe you can make something like in Intraweb.

DBComboBox has ItemHasValues=True

Items has an ItemList like Something=Value

It lists in the Combo the "Something" but when selected

the "Value" goes in the database field.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...