Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ComboBox value inserting into form, but not table

Status
Not open for further replies.

TeriCoombes

Technical User
Aug 26, 2004
22
US
I have a form that requires a user to select their name from a combobox before they log in data. Their name is then supposed to be added to the records they modify. In the form I have:

=Forms!frmSelectTest!cboAnalyst

which displays their name correctly. However this value is not inserted into the table. Does anyone know what I am doing wrong?
 
How are ya TeriCoombes . . . . .

[blue]cboAnalyst[/blue] needs to be [blue]bound to a field[/blue]. If the field doesn't exist . . . create one!

Calvin.gif
See Ya! . . . . . .
 
The combobox is bound to the Analyst table. And that is working correctly with the form. The problem is getting the table to take the value from the combobox.
 
Hi
Have you checked the Control Source in properties to make sure it is bound to the right field? [ponder]
 
TeriCoombes . . . . . .

If you used the combobox wizard to set it up, the PK of the table is usually the first and [blue]bound column[/blue]. [purple]The bound column is what gets stored in the field[/purple] and is probably what your seeing.

[blue]Try changing the bound column property to 2.[/blue]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top