Win32Lib; Control; Dropdown; Index and data?

new topic     » topic index » view thread      » older message » newer message

I've got database table content that I want to be presented in a dropdown
control. I'm not gonna put inn all the field values in the control, but I
need the unique index and the readable information.

Example; Databasetable "TBL_PERSON" content;
-------------------------------------------
KEY      SURNAME            FIRST NAME
-------------------------------------------
0001     Olsen              Elvis
0002     Jensen             Thor
0003     Jordan             Jens
-------------------------------------------

I want this data to be presented in a dropdown control, with the 
index hidden, and the full name shown with "SURENAME, FIRST NAME".
When the user makes a selection, it is the KEY that is returned, not
the name itself.

Is this possible? This principle was taken from the dropdown control in
MS Access, and I was kinda hoping it would have the same function in Win32Lib.

Regards
Kenneth / ZNorQ

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu