Robert Posted December 4, 2005 Posted December 4, 2005 Although it's a bit more complex than this here's basically my problem: After creating a database table [i.e., Table1] with 3 fields named, "Qty"; "Cost/item" and "Total" I made a form to enter info back into this "Table1" database. All I want to do is simply open the form and take Qty x Cost/item to get a total cost. So I opened up "expression builder" in the "Total" field and entered "=[Qty]*[Cost/item]" Okay, once I am out of "form design" and plug in some numbers...like 4 x $2.00/item... the "Total" field displays $8.00. But after I press the "Add record" command button the only info that is added to the "Table1" database is the "Qty" [4] and Cost/item [$2.00]! The "Total" cost field remains empty. Why...what am I doing wrong? Rob Quote
Clio Posted December 5, 2005 Posted December 5, 2005 You have to bind the field on your form that receives the calculated total to the field in your database so the result is saved. Start there. It's been too long for my Access brain... but that's your starting point. Quote A heart where He alone has first place.
Robert Posted December 5, 2005 Author Posted December 5, 2005 The form is bound to the expression "=[Qty]*[Cost/item]" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.