>What is the equivalent of the atn function as shown here in this Access example:
>
>
>UPDATE [TABLENAME] SET XAxis = (cos(((4*((4*atn(1/5))-
> (atn(1/239))))/180)*[TABLENAME].Latitude)*cos(((4*((4*atn(1/5))-
> (atn(1/239))))/180)*[TABLENAME].Longitude));
>
I think you can replace 4*((4*atn(1/5))-(atn(1/239))) by PI()
And if you store the Latitude and Longitude in radians, then it becomes
SET XAxis = cos([TABLENAME].Latitude) * cos([TABLENAME].Longitude)
likewise
SET YAxis = cos([TABLENAME].Latitude) * sin([TABLENAME].Longitude)
SET ZAxis = sin([TABLENAME].Latitude)
Gregory