>How do I dynamically resize an array at run-time. I am a VFP newbie, and have no clue as to how to declare an array, and simply add elements within a control loop in my code. I don't know the size needed before the loop is entered (eg. a SQL query returning variable number of records).
>
>Thanks,
>
>Fred Zimmerman
Hi Fred,
You can use DIMENSION command to dimension or re-dimension array. SELECT statement will redimention array automaticaly, if any records are returned.
--sb--