>>Hi,
>>I usually convert an excel spreadsheet to a DBF file by first saving it into a CSV format and then importing into a DBF.
>>
>>But this spreadsheet (attached) does not have a clear structure of columns. The attached spreadsheet shows the pattern; the actual one has many more “records”
>>
>>How would you devise a plan to convert such a spreadsheet to a DBF?
>
>Hi,
>
>You may try it with one of the procedures by Vilhelm-Ion Praisach
http://praisachion.blogspot.nl/, "ImportXLSX.prg". When I use importfromxlsx("procedurestest.xlsx",2,'',.T.,.T.,0,'myCursor') on your XLSX file I do get some meaningfull data, play with the parameters to get the by you desired result.
>
>Regards,
>
>Koen
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham