1. Smart-icon to run a @Formula over a doc
Bruno Grange
www.grange.com.br
2. Smart-icon to run a @Formula over a doc
• The function of this smart-icon is
changing a document field value.
• It is simple and easy to use.
• It reduces the effort of small data
changes considerably.
3. Smart-icon to run a @Formula over a doc (cont.)
• Toolbar preferences...
• Toolbars, New
Toolbar...
• Customize
• New... Button...
• Paste the code button
4. Smart-icon to run a @Formula over a doc (cont.)
• Smart icon code:
result := @Eval ( @Prompt
( [OkCancelEdit]; "Formula evaluator";
"Enter the formula to evaluate:"; "" ) );
@Prompt([OkCancelEdit]; "Results
window"; "Use Ctrl+C to copy the results
below:"; @Text(@Implode(result; " ~ " )))
5. Smart-icon to run a @Formula over a doc (cont.)
• Select a document
to run the formula
• Click on your new
smart-icon
• Write the
@Formula
• Check the results
@AttachmentNames + ":" + @Text(@AttachmentLengths)
6. Smart-icon to run a @Formula over a doc (cont.)
• Limitations:
– The @Formula can not
be huge string (the
formula field size is
limited to about 255
characters).
– Not all @Formulas
work on this tool.
– The result string will be
truncated at the first
255 characters.