>In addition, your check may not prevent division by 0. You should check feedweight not feedcost. Add following record to see it
>
>INSERT INTO PreXtab (feedcost, feedweight) VALUES (1,0)
>
>>
Sergey,
You may disregard my previous message. The site is working now.
If it's not broken, fix it until it is.
My Blog