Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append to array property - redimension first?
Message
 
To
22/02/1999 16:03:01
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00190135
Message ID:
00190210
Views:
17
>Knowing that SQL select won't read the buffers, I used the Copy To Array, and, since this array will be needed elsewhere in the form, did something like "copy to array thisform.aArray". The array property was dimensioned aa aArray[1,0]. It invairably copied only one row.
>
>In all other cases, the arrays are redimensioned as the "copy to" command requires (or am I wrong?). Does this mean that array properties are an exception?

Dragan,

This is exact ]=ly how is is supposed to wokr. COPY TO ARRAY with a one dimensional array copies one record, while a two dimensional array copies multiple records. Try defining your array property as aArray(1,2)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform