Topic
access to formula value
Page d'accueil ' Communauté ' FPScript ' accès à la valeur de la formule
- Ce sujet contient 2 réponses, 2 participants et a été mis à jour pour la dernière fois par Anonyme, le il y a 14 années et 1 mois.
-
AuteurMessages
-
14.04.2011 à 11:44 #33445AnonymeInvité
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 à 11:44 #33447AnonymeInvité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,
20.04.2011 à 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 -
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.