Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox and EOF
Message
From
11/08/2000 15:19:13
 
 
To
11/08/2000 15:10:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00404102
Message ID:
00404105
Views:
16
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform