If I set a global variable and -try- to get related data from that right after setting the global, the relationship doesn’t seem to exist…
To ‘activate’ the global relationship, I need to put a databasemanager.saveData() right after setting the global…
Servoy Developer
Version 3.5-build 513
Java version 1.5.0_07-87 (Mac OS X)
Harjo
2
I have seen this behaviour also in prior versions of Servoy. That’s why I always do saveData()
so you are saying this doesn’t work in scripting:
globals.relationkey = 10;
if (my_global_to_table_relation.getSize() > 0)
{
}
that should work just fine. If you have a test case please add to our support system.[/code]