Cris,
the problem is another
on my application I load the oRange
oRange := GetExcelRange(cFileXls , , @lOpened)
it load good the excel file
then I must save all into a dbf and I have problem using
FW_DbfToExcel() because this function use at the end the
function FW_ArrayToDBF
here there is the problem I explain on topic
http://forums.fivetechsupport.com/viewt ... 04&start=0
then I founded ( for now a good solution) to resolve this problem with two easy commands
Create a dialog with a Xbrowse
Code: Select all
@ 1,2 xbrowse oBrowse ARRAY oRange ;
SIZE 100,62 PIXEL STYLE FLAT NOBORDER
put on dialog a button to create a dbf from oXbrowse with the comman ToDbf()
Code: Select all
@ 1,2 button oBtnDbf Prompt "Conversione" size 120,20 ;
of oDlg action (oBrowse:ToDbf(cFileDbf), oDlg:end( IDOK ) )
then I have the same result
perhaps there is an error on
FW_ExcelToDbf function
because I load the excel file the same command
oRange := GetExcelRange(cFileXls , , @lOpened)
and it save on range the exactly records
the error is then from line 229 to line 271 of
FW_ExcelToDbf function
because it converte the row with the columns I not Know why and it create the problem
perhpas the command
DEFAULT oRange := GetExcelRange() with no parameters change something ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC