Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What does 'Go (Recno())' do?
Message
De
29/06/1998 21:50:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00112723
Message ID:
00112738
Vues:
21
>Well with row buffering if you move the record pointer it is an implicit tableupdate(). Perhaps go (recno()) causes the effect of record pointer movements to fire while not actually moving - I haven't tested it though.

GO RECNO() does fire validation code, but there is another use too...
GO RECNO() is necessary sometimes to remind a datasession of it's relationships between tables. If you use relationships in forms (I don't) extensively, you have probably found that every once in a while, a child cursor forgets to refresh itself according to the position of the parent's record pointer. The only graceful way I have found of 'reminding' the relationship to behave is with GO RECNO().
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform