Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to array problems.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00520685
Message ID:
00520702
Views:
16
In the INIT of the combo:
with This
   .AddProperty('aMyArray')
   select * from mytable where ... order by ... into array .aMyArray
   .RowSourceType = 5
   .RowSource = 'This.aMyArray'
   .ColumnCount = 2
   .ColumnWidths = '100,100' && whatever
endwith
>Okay I have this section of code:
>
>

>select myTable
>
>copy to array laMyArray
>

>
>Pretty simple. Now, when I display the memory (display memory like laMyArray) it shows the array full of my info from the table. But the combo box that is tied in with this array shows me .F. as my only choice. If I fill the array in with store commands the array shows it properly.
>
>So, even though the array is filled properly with the copy to array command and the combobox is setup properly, it will not show the choices if I use the copy command. Anyone know why?
>
>Thanks in advance.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform