Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Produits tierce partie
Mark,
>This is finally from tech.support:
>
>Q #2. Can I index formula variables by name?
>No you can only index them by number. You can check the Formula Field
>name.
This is odd: this comes from the developer.hlp:
"Instead of using the Item property as shown, you can reference a formula field directly, for example, FormulaFieldDefinitions("ExampleFormula")".
Since, the FormulaFieldDefinitions collection is referenced with the Formulafieldsproperty in the report object, this seems a doc - error.
The best thing you can do, IMO, is to iterate trough all formulafields, get their names (.FormulaFieldName property) and synchronize them with VFP variable (in the same way I showed with the Parameterfields propery).
B.t.w. Are you using the formulafields to show a single value, or to change a formula ? If for a variable, the parameterfields are designed for this purpose.
Walter,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement