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 Form Control HELP

Status
Not open for further replies.

digilantis

Technical User
Jul 16, 2001
19
US
Having difficulty with 2 unbound controls on a form. One is a combo (cboCanister) populated by a query, the second is textBox (txtQTY) which allows direct user input.
First problem is the textbox. After the user enters the value and exits the box, the onExit Event fires and sends an Id from a bound combo (cboProductCode) on the form
and the user input from txtQTY to Sub GetUnitPrice And returns the value to txtUnitPrice. That works fine on the first record. The problem is on the second entry the value in txtQTY updates txtQTY in record one to the same.
The same thing is happening with cboCanister, first record is fine, second record updates value for cboCanister in record one--what am I doin wrong??

thanks
 
Hi.
Why not simply bind the controls to the underlying table or query? Gus Brunston :cool: An old PICKer, using Access2000. I manage Suggestions welcome. padregus@attbi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top