K
Kenneth Hutson
Hi,
I am pretty much a novice at this, but this must be a simple thing to do.
I have an Access database with tables offices and states. Offices has a
stateid (long integer) column. States table has a stateid (long integer) and
a column statename (text) where the state name is spelled out. The tables
are related on stateid.
I want to display the offices table information a form (VB.Net 2005
Express). The DataGridView control looks like a good control for my purpose.
I would like to have the states column to be a combobox control. The user
would see the spelled out state name in the combobox. A selection from the
combobox would store the stateid from the states table into the offices
table.
Is this possible to do? If so, I have other tables which could benefit from
a similar treatment. If someone could provide a step by step list of
instructions to illustrate this technique, it would provide me a greater
insight and would help me greatly.
Thanks,
Kenneth Hutson
San Antonio, TX
I am pretty much a novice at this, but this must be a simple thing to do.
I have an Access database with tables offices and states. Offices has a
stateid (long integer) column. States table has a stateid (long integer) and
a column statename (text) where the state name is spelled out. The tables
are related on stateid.
I want to display the offices table information a form (VB.Net 2005
Express). The DataGridView control looks like a good control for my purpose.
I would like to have the states column to be a combobox control. The user
would see the spelled out state name in the combobox. A selection from the
combobox would store the stateid from the states table into the offices
table.
Is this possible to do? If so, I have other tables which could benefit from
a similar treatment. If someone could provide a step by step list of
instructions to illustrate this technique, it would provide me a greater
insight and would help me greatly.
Thanks,
Kenneth Hutson
San Antonio, TX