sin(), cos() etc... how can it be done with C/AL

There’s a company in Austria which developed such an OCX for Navision. Look at http://www.softsys.at/ocx.html Marcus Marcus Fabian phone: +41 79 4397872 m.fabian@thenet.ch