# calling global methods from within calculated fields

**URL:** <https://forum.servoy.com/t/calling-global-methods-from-within-calculated-fields/1686>\
**Category:** Classic Servoy\
**Created:** [April 10, 2004, 3:37pm UTC](https://forum.servoy.com/t/calling-global-methods-from-within-calculated-fields/1686 "2004-04-10T15:37:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobertMeyer](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@RobertMeyer](https://forum.servoy.com/u/RobertMeyer)\
**Post date:** [April 10, 2004, 3:37pm UTC](https://forum.servoy.com/t/calling-global-methods-from-within-calculated-fields/1686/1 "2004-04-10T15:37:37Z")

</div>

i see that when editing a calculated field in the method editor,  
under globals, i can only see global variables, not global  
methods.

i also noticed that i can enter the name of a global method  
in the calculation, and it works great!

the question is: is this ok to do? will i get in trouble doing  
this?

thanks  
rm.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [April 10, 2004, 6:09pm UTC](https://forum.servoy.com/t/calling-global-methods-from-within-calculated-fields/1686/2 "2004-04-10T18:09:06Z")

</div>

methods can access everything like elements in a form or other dataproviders from every form they want..  
And that will make it very dangerous to use them in calculations. But if you only use global methods for some handy functions that don’t touch anything else should work fine.
