Ok. I see what your saying. Thanks for the help. I was pulling of my hair out yesterday.
>I think it was using the value as a field number. When you set it to 1, it checked the first field and you got a correct response. When you set it to 0, it was checking the deletion status.
>
>>Larry, you are the Man. It works. WooHoo!!!!
>>
>>So what was it doing when I didn't use the quotes?? Any ideas?
>>
>>>Roi,
>>>Yes, you're making a slight typo *s*. The cFieldname parameter must be a character string. Enclose them in quotes and you should see the desired results.
>>>
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!