Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem referencing array from the calling form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00097156
Message ID:
00097216
Vues:
20
Tom,

>In the same modal form pair I refered to in my prior posting, the called form has a combobox whose row source is an array from the calling form. That array is a property of the form. That array is:
>
>goapp.objects[5].achildren[1,3].aAvailableResources
>
>On occasion (but not now when I want to reproduce it) I get an error message telling me that an array element is out of range. I had wondered whether I should loop thru goapp.objects, but I want to avoid doing uneccessary processing. I looked in the documentation and the CodeBook book and found nothing. Do I need new glasses or advice (or both)?

This is a bit "untidy". Can you create the RowSource for the combobox in the form in which it is used?

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform