>>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?
Try
this.PC_Combo1.RowSource = 'this.parent.arrProfitCenters'