FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

access to formula value

Home page Community FPScript access to formula value

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33445
    Anonym
    Guest

    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,

    #33447
    Anonym
    Guest

    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,

    #33446
    Bernhard Kantz
    Participant

    It’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.Evaluate

    Dim oDataset as Dataset
    Set oDataset = ThisDatabase.RootFolder.Object(“Formula”, fpObjectTypeDataSet)
    Dim vtValue
    vtValue = oDataset.value
    [/code]
    support@weisang.com

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.