In cases like this, always specify what event you're using. A combo's text property is what's visible in the control and is not necessarily what the control actually is holding. The difference between the two can be useful, but also prone to error. Value is the default property for a combo or textbox, so you don't even need to use the word in code.
My guess is that you're using an event that grabs the info before the control is updated (hint: use the AfterUpdate event); maybe BeforeUpdate? Another thing that can cause this is having two or more columns in a combo (regardless of how many are actually visible) and setting the bound column property to the wrong column. Often a novice programmer hides the first column, shows the user the second & third & etc. (which is acceptable) but forgets to change the bound column to one of the other visible ones that is needed. The first one is often the record ID and isn't the value they want to use to populate some textbox.
This is the current code I am using on the 'after update' portion of the name text box in the main form...
Don't understand how this comes into play unless you're expecting the combo box to put something in the control and think that this will cause the AfterUpdate on the textbox to fire, because it will not. You will have to leave or save the record, or move the focus off of it - anything that causes it to update.
the ability to add multiple lines
(table format)
This is an atypical use of words to describe your form. I think you mean datasheet, or maybe continuous form?
You have a few issues that maybe warrant breaking up into threads to make the answers easier for everyone to follow. See what you can fix with this information, and we'll see after that.
Last edited by Micron; 04-20-2016 at 10:00 PM.
Reason: grammar
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.