Servoy doesn't load dataset correctly

We have a problem where the first time our solution loads only the db values are visible, but no values through relations. After CTRL+L or switching to edit mode and back, these values do show up. Any idea what we are doing wrong here?

Our solutions works in the Servoy Developer
Version: 3.5.2
With JRE 1.6

Hi Rick,

What do those relationships look like? Do you use globals on the left side of the relation ? And are they set on load or show?
Do you have any onOpen method (solution settings) and/or onLoad method on the form ?

Hi Robert,

Those relationships are just database related non of them are Globals.
There is no onOpen, onLoad or onShow method on those forms.

What could be the problem?

If you only have a form with normally related fields and no methods that could interfere I would say you have a bug.
No errors in the servoy log or database log?

I suggest you create a sample solution that recreates this issue and file this in the support system.

Hope this helps.

Problem solved. It was something in my code.

Bonkie:
Problem solved. It was something in my code.

Huh ? I thought you said it didn’t have any onLoad/onOpen/onShow event triggered? So how can it be any code ?
Or was it an onRecordSelection event?

Anyway, I am glad it’s solved for you.

Well there is somewhere a code thats sets some global vars.
But I didn’t use them on the right way so that was the problem :)