Export data in Excel format
nabil
-
diablond Posted messages 183 Registration date Status Member Last intervention -
diablond Posted messages 183 Registration date Status Member Last intervention -
Hello,
I am a beginner in Windev, this is my first project with Windev 14 for which I need to export data in Excel format.
For more information, I am using HyperFileSQL Classic as the database.
Can someone help me?
Thank you in advance.
I am a beginner in Windev, this is my first project with Windev 14 for which I need to export data in Excel format.
For more information, I am using HyperFileSQL Classic as the database.
Can someone help me?
Thank you in advance.
1 answer
Hello,
After loading your file into a table, right-click on the table and select: Export to Excel
Otherwise, in a button you paste the following code:
sFic is a string
sFic = fSelector("", "", "Choose the export file", "Excel Files (*.xls) *.xls", "xls", fselCreate+fselExists)
IF sFic <> "" THEN TableToExcel("TABLE1", sFic, withoutTitle)
After loading your file into a table, right-click on the table and select: Export to Excel
Otherwise, in a button you paste the following code:
sFic is a string
sFic = fSelector("", "", "Choose the export file", "Excel Files (*.xls) *.xls", "xls", fselCreate+fselExists)
IF sFic <> "" THEN TableToExcel("TABLE1", sFic, withoutTitle)