Watch out for similar one which happens if you forget to type .Value for an object, like:
Thisform.txtPrice = 150
:)
>That fixed it Thank you.(AWWW now I feel dumb (GRIN)
>
>Bill
>
>>>Im having a little problem. I've created a new property in a form and called it OLDRECORD. in a Find button click event I have coded the following:
>>>
>>>thisform.oldrecord.value=recno()
>>
>>Bill, remove .Value from this line
>>Your oldrecord is a form property, not an object.
>>
>>Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison