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:
01501169
Views:
36
>>>>>You're right. I've checked the help online quickly. The first parameter must be 0, the second is up to you.
>>>>
>>>>I can't thank you enough for this suggestion (TableUpdate). It is very simple and works.
>>>
>>>Ok, great.
>>
>>Unfortunately (not your fault) I was too fast to like this approach. It does not really work. You see I want to update the cursor from the base table. And the TableUpdate() does not update the cursor from base table but rather the other way around.
>
>What exactly do you mean by other way around? The way could be to run a select statement from the base table for the particular PK and then do scatter / gather approach to update local cursor, but it's a bit strange design.

This is pretty much how my program works now (scatter/gather) but why do you say it is "strange" design?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform