I have a form that pulls variables from a table, performes a fairly complex calculation and then inputs the results for each line item on a continuous form. The calculation is too complex to create directly in the Control Source property. I have written code that performs the calculation correctly, but I cannot figure out how to link the control source to the code I wrote. Any ideas?