Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox in grid column.... When is cursor updated?
Message
 
À
25/09/2017 19:44:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01654540
Message ID:
01654565
Vues:
66
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform