ggreen86 / XLSX-Workbook-Class

VFP Class to Create an XLSX Workbook without Excel Automation or Installed
45 stars 16 forks source link

About General fields #119

Open jhernancanom opened 3 months ago

jhernancanom commented 3 months ago

Hi, Greg and friends. I am testing TableToExcel.prg in r42, found a bug, and propose a fix.

We know that VFP cannot work with General fields. After some asking on a forum I decided to show how Greg's XLSX-Workbook class give us all the potential of our programming language. But XLSX-Workbook-Class failed and I didnot know why. After some investigation, I realize about the general field, and I put me in labour of improve it for this case. I discover that SaveTableToWorkbook (see not sufix Ex) can manage General fields (can ignore'm), but SaveTableToWorkbookEx not. After seeing something more I got the fix for it could run.

I need to fix the following two functions:

I attach both and wait that it can be usefull for all of you.

Please I ask for all of you see all internals what I did because there some things that can be improved.

SaveTableToWorkbookEx.zip

WriteDirectSheetHeader.zip

TableToExcel_H.zip