dynamic temporary relations

Hello all,

is it possible to create a temporary relation that only exists in a particular function/method, something like

var myRelation = createRelation(forms[arg1][arg2],forms[‘form’][‘field’]);
if(myRelation.deleted){};

Regards Peter,

Servoy Developer
Version 3.5.5
Java version 1.5.0_13-119 (Mac OS X)

Hi Peter,

You can’t create dynamic relations like that. What you can do however is use plain SQL and use the databaseManager.getDataSetByQuery() function.
Or maybe you only want to be able to use a dynamic value on the left side of a join then you could use a global for that.

Hope this helps.