Topic
access to formula value
Startseite ' Community ' FPScript ' access to formula value
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 14 Jahren, 1 Monaten von Anonym aktualisiert.
Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
-
AutorBeiträge
-
14.04.2011 um 11:44 Uhr #33445AnonymGast
I would like to access and to extract the formula value into a data set in order to make other calcultation and work with VB.
How can I do it ?
regards,
14.04.2011 um 11:44 Uhr #33447AnonymGastI would like to access and to extract the formula value into a data set in order to make other calcultation and work with VB.
How can I do it ?
regards,
20.04.2011 um 13:38 Uhr #33446Bernhard KantzTeilnehmerIt’s possible to evaluate a FPScript formula. In VBA you can use the [b]Evaluate[/b] method.
[code]
Dim oFml as Formula
Set oFml = ThisDatabase.RootFolder.Object(“Formula”, fpObjectTypeFormula)
oFml.EvaluateDim oDataset as Dataset
Set oDataset = ThisDatabase.RootFolder.Object(“Formula”, fpObjectTypeDataSet)
Dim vtValue
vtValue = oDataset.value
[/code]
support@weisang.com -
AutorBeiträge
Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.