LeonardoSigales
New member
- Joined
- Mar 11, 2009
- Messages
- 3
- Programming Experience
- 1-3
Hi
I'm using Visual Basic 2008 Express to make a program for Fill and retrieve some data for a printed form. In the main program Window I have several comboboxs linked to some Lookup tables and Detail tables. The tables are like this:
*Clients:
**ID_Clients
**Name
**ID_MaritalStatus 8-------- \
\
*MaritalStatus \
**ID_MaritalStadis <F-------
**DES_MaritalStatus
The combobox DES_MaritalStatus Its Linked to the Column on the lookup table MaritalEstatus. So when I run the Form the mentioned ComboBox show the Value "Married" When it reads "1" From ID_Clients From Clients For the Client Jon Smith. So far so good.
The actual problem Begin here. I need the combobox to display all the Data contain in the look up table. If i click in the drop down list i just can see the Descripcion for the marital status of the displayed Record from the Clients table. I need the combo to list all the Marital status so the user can change it when need it.
On short, ¿How can i do to make a datalinked combobox show in the dropdown list all the option for the selected lookup table, but display as firs option the description related to the ID on the Details Table?
Thanks in advance.
I'm using Visual Basic 2008 Express to make a program for Fill and retrieve some data for a printed form. In the main program Window I have several comboboxs linked to some Lookup tables and Detail tables. The tables are like this:
*Clients:
**ID_Clients
**Name
**ID_MaritalStatus 8-------- \
\
*MaritalStatus \
**ID_MaritalStadis <F-------
**DES_MaritalStatus
The combobox DES_MaritalStatus Its Linked to the Column on the lookup table MaritalEstatus. So when I run the Form the mentioned ComboBox show the Value "Married" When it reads "1" From ID_Clients From Clients For the Client Jon Smith. So far so good.
The actual problem Begin here. I need the combobox to display all the Data contain in the look up table. If i click in the drop down list i just can see the Descripcion for the marital status of the displayed Record from the Clients table. I need the combo to list all the Marital status so the user can change it when need it.
On short, ¿How can i do to make a datalinked combobox show in the dropdown list all the option for the selected lookup table, but display as firs option the description related to the ID on the Details Table?
Thanks in advance.