Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to array: only 1?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051523
Message ID:
00051709
Views:
32
>>Sure. I was just curious. I think there are a few years since I used COPY TO ARRAY last time (too many modifs to be done when you modify the dbf struct, the dbf becomes to big, etc), so...
>>
>>Vlad
>
>Vlad, sometimes it's much faster if you're only copying a few fields from a couple of records and can use COPY TO... WHILE... Particularly with a large table.
>
>Barbara

Yes. But I still don't like to use arrays to do it. You must deal with the relation between field names and array elements and this is just one more thing to take care when the structure is changed, etc. I found out that not using COPY TO ARRAY and SELECT INTO ARRAY saves me from a lot of work, so... You know, when you use this commands, even if the changes don't affect your arrays/mechanism, you still have to check it every time you do some changes (at least, I must do it, since I don't have a perfect memory :)).

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform