Hi there, this is probably too complicated to post but this forum is so helpful, maybe somebody can point me in the right direction. I'm converting an application that allows the user to create lumber orders. There are 5 different formulas to determine pricing, i.e. SF, MBF, CSF, etc. Each item number has one of these codes associated with it. I have cracked the formulas, but do not know how to apply them when a user creates an order, they will choose from the list of items. As they add the item, I have to calculate the price based on the formula which adds the result to the orders table. Can I do this with CASE? How would I call a function to do what I'm trying to do? Any help would be greatly appreciated. I really don't know where to start. Thank you.