Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File titles into a table
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00041659
Message ID:
00042819
Views:
37
There would be instances where the cursor is created with a structure that may not fit the data in its array format, or simply there may be just certain fields that you want filled with data from array. APPEND FROM supports the FIELDS clause, INSERT INTO .. FROM ARRAY, doesn't.
However, I think you are correct, this would be a good instance of using INSERT INTO.

Sorin

>> >Is there a way to load the names of all the files in a directory into
>> a
>> cursor?
>>
>> I would use ADIR() and then append from it.
>
>Rather than APPEND, use INSERT INTO .. FROM ARRAY. As discussed a
>couple of days ago, this would be a good instance of using INSERT INTO
>to add multiple rows at one time.
>
>/Paul
Previous
Reply
Map
View

Click here to load this message in the networking platform