# loosing global-values after design

**URL:** <https://forum.servoy.com/t/loosing-global-values-after-design/93>\
**Category:** Classic Servoy\
**Created:** [June 2, 2003, 9:34am UTC](https://forum.servoy.com/t/loosing-global-values-after-design/93 "2003-06-02T09:34:59Z")\
**Posts on this page:** 6\
**Page:** 1

<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 2, 2003, 9:34am UTC](https://forum.servoy.com/t/loosing-global-values-after-design/93/1 "2003-06-02T09:34:59Z")

</div>

In my solution I have a few globalfields which are set by a method.  
If I go to design-mode en back to edit-mode, I loose all my global-values!!  
Is this normal?

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [June 2, 2003, 11:18am UTC](https://forum.servoy.com/t/loosing-global-values-after-design/93/2 "2003-06-02T11:18:53Z")

</div>

Is fixed in coming build.

---

<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 2, 2003, 11:37am UTC](https://forum.servoy.com/t/loosing-global-values-after-design/93/3 "2003-06-02T11:37:41Z")

</div>

WOW! I think I found them all the past week! LOL ![:lol:]( "Laughing")

(Suggestion: The one that find’s the next one, wins a cake!! ![:lol:]( "Laughing"))

GREAT for quick fixing it!

---

<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 4, 2003, 8:09pm UTC](https://forum.servoy.com/t/loosing-global-values-after-design/93/4 "2003-06-04T20:09:41Z")

</div>

In the R2 1.1 rc2 build 257, I still loose them!

---

<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 5, 2003, 12:06pm UTC](https://forum.servoy.com/t/loosing-global-values-after-design/93/5 "2003-06-05T12:06:31Z")

</div>

Rectification: I don’t loose them.  
I had a layout which had an onLoad Method, that clears my globals!  
Sorry!

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [June 5, 2003, 12:19pm UTC](https://forum.servoy.com/t/loosing-global-values-after-design/93/6 "2003-06-05T12:19:11Z")

</div>

event scripts can be very sneaky ![:twisted:]( "Twisted Evil") ![:)]( "Smile")
