Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox and EOF
Message
De
11/08/2000 15:19:13
 
 
À
11/08/2000 15:10:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00404102
Message ID:
00404105
Vues:
17
>When the alias of a bound textbox is EOF(), how can the textbox know that it is at EOF? It acts as if it was disabled but textbox.enable is .t.
>
>How can I have an event fire when textbox's controlsource reaches eof?
>

It's not the controlsource that'd doing it since it's a field. It's the record pointer of the alias that moves to EOF().
How you trap it depends on where the pointer gets moved to EOF().
Typically something like this is done:
Store the current record number before the process that moves to eof()
Run the process. (like a SCAN, SUM, COUNT, etc.)
Go to the recno stored previously.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform