-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Automated export from formula to CSV file
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 12 Jahren, 5 Monaten von norbert.bakkers@lr.org aktualisiert.
-
AutorBeiträge
-
Juni 19, 2012 um 2:36 pm Uhr #12767norbert.bakkers@lr.orgTeilnehmer
I’ve written a FlexPro function (in FlexPro script) with a number of arrays defined within the function e.g:
myTime = 0. # NumTimeSteps
myResult1 = 0. # NumTimeSteps
myResult2 = 0. # NumTimeSteps
myResult3 = 0. # NumTimeSteps
myResult4 = 0. # NumTimeSteps
myResult5 = 0. # NumTimeStepsThen I populate them with data.
I would then like to export the resulting arrays into CSV files from within the formula. The formula will be called multiple times, so I would like the process to be as automated as possible.
What would be the best way to go about this?
Juni 19, 2012 um 2:36 pm Uhr #8433norbert.bakkers@lr.orgTeilnehmerI’ve written a FlexPro function (in FlexPro script) with a number of arrays defined within the function e.g:
myTime = 0. # NumTimeSteps
myResult1 = 0. # NumTimeSteps
myResult2 = 0. # NumTimeSteps
myResult3 = 0. # NumTimeSteps
myResult4 = 0. # NumTimeSteps
myResult5 = 0. # NumTimeStepsThen I populate them with data.
I would then like to export the resulting arrays into CSV files from within the formula. The formula will be called multiple times, so I would like the process to be as automated as possible.
What would be the best way to go about this?
Juni 25, 2012 um 12:42 pm Uhr #9242Bernhard KantzTeilnehmerIf you want to automate the export you have to write a VBA macro.
Example:
…
Dim oFml As Formula
Set oFml = ThisDatabase.RootFolder.Object(“Formula”, fpObjectTypeFormula)
oFml.Export fpExportFormatCSV, “…Path…”
… -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.