Originally Posted by
bbrazeau
I have a tblQuote. It has multiple fields which the user selects choices from. These fields are combo box lookup fields that get their values from other tables. The user may select a size "8X8" (column2),(column1) is the ID, that has a corrisponding cost of $1500 (column3). The user then may select a type "3 plate,Hot" (column2), (column1) is the ID, that has a corrisponding multiplication factor of 1.625 (column3). Thus an intermediate calculation would be 1500*1.625. This is an example and suffice to say there are other choices that interact with intermediate calculations to arrive at a final Quoted price. I would like to make this calculation and store the number in a calculated field on the form frmQuote.
This calculation will be too intricate to do in the expression builder. Therefore, Is there an example out there similar enough for me to glean information from? If not, Could someone direct me in the right direction for implementing this? ie.. Do I write a function and then have to have a button to initiate the function or is there a way to have it run as the user moves from record to record. What is the best way to send the info to the function or if the formis open in the background would I be able to reference controls with formal call Forms![frmQuote]![cboSize]![column2]