KB-28434: Creating and saving values in a Formula at runtime.

Question:

How can I create new values in a Formula dynamically?

Solution:

Once your Formula has already been created and configured, you can create a button on screen and write the following script in its Click() event:

Application.GetObject(“Formula1”).CreateValue Recipe1
Application.GetObject(“Formula1”).SaveFormulaValues “Unidade1”, Recipe1

These rows will create a new value called Recipe1, in Formula1, and save the values from their corresponding units on Value columns generated by Formula1.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *