I have a layout that has a portal. When a portal record is created the layout goes blank while the record is being created, and when it comes back, only 1 or 2 fields will show up. This only occurs when the first record is created. All subsequent records seem to show up just fine. This seems to happen on both Mac and Windows.
I have tried adding a refresh UI command - It did not solve the problem.
I then tried a relookup command - Also did not solve the problem.
The only 2 work arounds I can find is for the user to minimize and then maximize the Servoy window. Then the whole layout will appear.
Or, hit the backward history button and then the forward history button. This will cause the layout to fully load.
Any thoughts?
Is it a self join or something?
Can you reproduce it in a small sample file?
I am afraid I am not understanding either of your questions.
Jim,
Is your portal via a relationship to the same table as the form you’re calling it from?
Are you able to make a new, simple solution that demonstrates the same problem (i.e. can you duplicate the error).
Oh, I understand.
No the portal is looking to a different table than the outer layout looks to.
I will try to recreate it in a different solution and see if the problem happens there.
Ok. I could not duplicate the problem which lead me to the fact that it has something to do with that form only. I created a new form and new portal and things worked fine.
I then concluded that the problem must lie in the old portal. It in some what must be corrupt. I went back to my original form and deleted the portal and added a new portal. When I did that, it worked. So that seemed to be the problem.