Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CA RefreshCursor for one record
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01501152
Message ID:
01501162
Views:
38
>>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform