Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox in grid column.... When is cursor updated?
Message
 
To
25/09/2017 19:44:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01654540
Message ID:
01654565
Views:
67
>My code would not fail because it IS IN the Valid() method of the grid column's textbox, since we are IN the grid, then, we are IN the grid's cursor area. Let's remember that whenever we are IN a grid the cursor bound to the grid is SELECTed.

Hm, how can be sure?
What about:
IF thisform.SomeMethod() && Here you change current alias and forget to bring it back
   *** Your Code here
ENDIF
And BTW this code shows habits. If you program that way here you will do the same somewhere in the application where you can not be sure that you are int the right alias.
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