>>Dragan,
>>
>>I've had something like this when using a Treeview.
>>My "solution" was to make an object reference just before the failing line, then use that full object reference in the (previously) failing line.
>>oTemp = Thisform.XXXX.yyyy
>>abc = oTemp.GetKey(.....)
>
>We do think alike... that's the first thing I tried. That's how I actually discovered it had gone null.
Dragan,
Just a thought - could it be a VFP reserved word. It looks like it, thus erratic behavior...
If it's not broken, fix it until it is.
My Blog