Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning combo's RowSource
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01465931
Message ID:
01465940
Views:
56
>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.

No ideas from anyone?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform