what about if you put an PAUSE 50 after starting the analog to digital conversion. This will give the PIC enough time to convert and store it to your var.

BTW wich PIC are you using ?

if nothing work, can you post/attach your whole code?