Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing value in Grid
Message
 
To
21/07/2023 11:41:25
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686818
Message ID:
01686827
Views:
47
>_TALLY can be 0. I don't see any code that changes this variable.
>Also I don't see the need of this complicated code just to replace a value in cursor. You know the cursor name, you know the column name then JUST UPDATE the cursor where this is needed, do not go through grid to do such operation.
>
>Hi Borislav,
>
>Can you please, and without a lot of effort, give me your suggestion on how you would write this code, using the cursor name and the column name, taking into account that I may have several lines in the Grid and I only want to update for line nº 5 for example.
>
>Best regards,
>Luis

1. - Just make Column control source the column you need to update and VFP will do this for you.
2. REPLACE YourColumn WITH SomeValue IN YourTable -&& Put this code there where you want to update cursor
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform