Thanks for the reply, I only included the code I figured might be giving me the problem. My Bad!

After re-reading the correct DS, I figued out that RA4 cannot be configured as an Analog Input.

I'm using the 877A to prototype some code that will run on a P18F4431. All pins on Port A of the 4431 can be Analogs, so I figured.....

Note to self:RTCFDS- Read the correct F* data sheet!

thanks

t