Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_VFP.ActiveForm.Controls(1).Pages(2).Controls....
Message
From
03/11/2000 16:48:00
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00437749
Message ID:
00437859
Views:
18
>I have an odd one.
>
>_VFP.ActiveForm.Controls(1).Pages(2).Controls(1) through
>_VFP.ActiveForm.Controls(1).Pages(2).Controls(160) works fine.
>But
>Public lnIndex
>lnIndex = 1
>_VFP.ActiveForm.Controls(1).Pages(2).Controls(lnIndex)
>
>in the very next line blows up with
>OLE error 1429, error 31, subscript out of range. Anyone ever see that?

What's being done on with the control in the bold line above?
I wasn't sure - was the bold line the one that was blowing up, or the line after it?
If the line after, what is that line?
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