Excel scripting with carbone

Hello community!
I’m struggling a bit with carbone template scripting:
I would like to collect in an excel file the complet list of my different Navire.Options liked to a single Offer in the parent table Offer (see below my DB diagram). this template has to be in the navires table (I send it with an email button with others templates in the navires table…)
Example: I have one offer with 2 vessels. Each vessel has différent options. I would like to collect all the list of options of this 2 vessels in a single excel sheet.
I try to script the some excel attached, but it’s always blank
Any idea? Maybe there is an easiest way to collect a list with a standard ninox printing engine and a wonderful formula!?
Thanks for your help!
2 replies
-
said:
I would like to collect in an excel file the complet list of my different Navire.OptionsJust to clarify that Ninox can only output into PDF through dynamic printing. Carbone can export into XLSX, but that is something else.
If you want to output into excel then you need to use createXLSX().
Let us know which way you want to go.
-
Hello Fred! Thanks for your care, you’re the one who help me the most!
no problem if ninox generate a pdf as I’ve created an email button to send in one click the « dce », « dmec » and this « test » template.
Content aside
- 3 hrs agoLast active
- 2Replies
- 24Views
-
2
Following