General information
Category:
Coding, syntax & commands
>Anyway to merge two arrays without stepping through all of the elements-- i.e. without having to step thru array1 to get the row's value, redimensioning array2 to hold another row, and then inserting the row from from array1 into array2?
>
>I want to merge separate arrays that hold directory listings of .dbf files. Each array has a list of all of the .dbf files in a specific directory and I want to merge them all into one array to show in a list box.
How about something like
Create a cursor to hold the values
Append from each array
Copy to the final array
This may not work for you because the source and target arrays have to be two dimensional but it eliminates the need to know and keep track of the number of elements involved.
...Rich
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only