>I need to create a cursor or table from an array. The program doing the creating is simply being passed the array and has no idea of how many columns it has or the width or datatype of each of the columns.
>
>I can get the # of columns easy enought, the issue is creating a CREATE CURSOR statement that will have the proper syntax that I can then fill from the array.
>
>I've got some code that "sort of" works, but somehow it seems kludgy. Looking for any good suggestions here.
>
>Thanks,
>Steve Despres
>sdespres@erols.com
Why don't you use the fox command CREATE TABLE ..... FROM ARRAY arrayname ?
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca