Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning combo's RowSource
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Assigning combo's RowSource
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01465931
Message ID:
01465931
Vues:
274
Hi everybody,

I have this code failing
SELECT * FROM prof_ctr INTO ARRAY this.arrProfitCenters
this.pc_Combo1.RowSourceType = 5
this.PC_Combo1.RowSource = 'this.arrProfitCenters'
This in this code refers to the class. The RowSource assignment line is giving me an error 'property arrProfitCenters' is not found.

The array exists and I verified its content in the debugger.

Do you see what am I missing here? Can I use class based array or I must add this array to the form instead? The class is added to the page in run-time.

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform