this is what I have in the control box
=getTaxAmount([Out of State Deal],[Sales Price],[Tow Equipment Price],[Trade In Allowance],[Unit Type])
And this is what I have in the "build event" code builder
Option Compare Database
Function getTaxAmount(OutOfState, SalesPrice, TowEquipmentPrice...