Jump to content

Recommended Posts

Posted

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 ?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...