Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_VFP.ActiveForm.Controls(1).Pages(2).Controls....
Message
De
03/11/2000 16:48:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00437749
Message ID:
00437859
Vues:
19
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform