Topic
access to formula value
- This topic has 2 replies and 2 voices and was last updated 14 years, 1 month ago ago by Anonym.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
14.04.2011 at 11:44 #33445AnonymGuest
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 at 11:44 #33447AnonymGuestI 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 at 13:38 #33446Bernhard KantzParticipantIt’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 -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.