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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unbound text box on ALL records display new data!

Status
Not open for further replies.

gusbrunston

Programmer
Feb 27, 2001
1,234
US
The choice in a combo box is saved in one field. The data from the second column is displayed in an unbound text box.

Continuous forms.

When choice is made from combo box for latest record, the correct data from the second column is properly displayed in an unbound text box, BUT all the visible previous records have the same new data substituted in the same text box.

Here's the code from the combo box After update:
Code:
Private Sub cboPayerPayeeID_AfterUpdate()
    Me.txtPPName = Me.cboPayerPayeeID.Column(1)
End Sub

Anybody???

:-I

Gus Brunston
An old PICKer
padregus@home.com
 
My suggestion is to make the unbound field as a bound field. Create an extra field in the underlying table.

I cannot see any other way out.

Seaport
 
Dear Seaport:
I sea what you mean. I'll try that. Thanks.
:) Gus Brunston
An old PICKer
padregus@home.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top