>>>>>Hi,
>>>>>
>>>>>I was wondering if there is a method (or a parameter in a method) that would allow me to refresh just one record in the cursor of the CursorAdapter. The RefreshCursor, I think, will refresh/update all records. But I am looking for a method to update just one record using PK value.
>>>>>
>>>>>TIA for any suggestions.
>>>>
>>>>You can call TableUpdate with the .F. parameter to only update one (current) record.
>>>
>>>Let me clarify something, please. Do you mean =TableUpdate(0,.F.,"CursorName") ? That is, you meant to have the 2nd parameter as .F.?
>>
>>Yes. The parameter that tells how many records to update.
>
>I thought that the first parameter (that I use as 0) is to tell how many records to update.
You're right. I've checked the help online quickly. The first parameter must be 0, the second is up to you.
If it's not broken, fix it until it is.
My Blog