# Help please passing global variables

**URL:** <https://forum.servoy.com/t/help-please-passing-global-variables/6133>\
**Category:** Classic Servoy\
**Created:** [June 27, 2006, 1:48am UTC](https://forum.servoy.com/t/help-please-passing-global-variables/6133 "2006-06-27T01:48:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prj311](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@prj311](https://forum.servoy.com/u/prj311)\
**Post date:** [June 27, 2006, 1:48am UTC](https://forum.servoy.com/t/help-please-passing-global-variables/6133/1 "2006-06-27T01:48:47Z")

</div>

Hi,  
I am having a problem passing data to global variables, I know this is probally a simple problem, but a am new to servoy and would really apreciate some help.

```auto
//show solution version
var version = globals.solution_version
version = application.getSolutionRelease();

```

The above is what I am trying to do??

on the layout I have placed the global to display results

Thanks in advance

PR

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [June 27, 2006, 6:19am UTC](https://forum.servoy.com/t/help-please-passing-global-variables/6133/2 "2006-06-27T06:19:21Z")

</div>

what your are doing now is as follows:

your are declaring a variable: version.  
you put the value of globals.solution\_version into the variable

the second line your are overwriting the variable with the value, you are getting from: application.getSoluitionRelease()

So you are putting twice data into the variable.

If you want to display data into the global, you have to do this:

globals.solution\_version = application.getSolutionRelease()

Hope this helps
