So this may have been answered in another post, but as I'm still learning Access (365), I may not know the correct terminology to how to best search for what I'm looking to attempt. So my apologies if this is a repeat answer. This was just a rough/quick build at work, while my other database I'm building (doing the same thing, but is a lot more extensive, is on my home computer)
I've built a form where I collect load information (Origin, Destination, Miles, Commodity, etc). I've put in a subform to collect prices from carriers that are linked the the LoadID. In the subform I have a field to collect the price each carrier is bidding. The next field is $/mi (cost per mile), that I'd like to be calculate when a price is inputted into the subform record. So I'd take the price (subform) and divide it by the main form's "Miles" field. I've tried building an expression (right click in subform's $/mi field > Build Event > Expression Builder = [Price] / [Loads]![Miles] . This doesn't seem to do calculate anything into the $/mi field of the subform, whether I create a new record, or update a previous one.
I don't know if the following will help or not, but figured I'd provide my table/form layout as of now. You can also see the attachment to see the form itself.
Tables:
Loads
Prices
Forms:
Loads
Prices subform
Any input/guidance you can provide would greatly be appreciated!