Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Doevents
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Doevents
Miscellaneous
Thread ID:
00666691
Message ID:
00666691
Views:
53
I have a doubt about the DOEVENTS command. I have a program, which uses a Do-Endo loop
to scan through a table with over 2 million records. Within the loop, I am modifying
a field in each record. The first release of the program was working fine. Then in the
second release this error 'Invalid subscript reference' was reported. I do not have
much information regarding the error and I am trying to figure out why that might
have happened.

One of the changes, I made in the 2nd release was to add a 'DOEVENTS' command in the
'Do - Enddo' loop. I did this because, I assumed that this loop would take a long
time and I did not want this program to slow down other windows events. Could this possibly
be the reason for the error? Since I added DOEVENTS, will the program try to move ahead
in code and run into this error?
Next
Reply
Map
View

Click here to load this message in the networking platform