Page 1 of 1

Subform object blocking the loading of a form if empty

Posted: Mon May 07, 2018 7:48 pm
by marcvander
Hey,

I have employees and companies. I have a form to browse and edit companies information. In this edit form, I added a subform to list all the employees working in this particular company. When the subform returns one or more employees, the form loads without issue. But when the subform is empty (meaning no employee work in this company), the form doesn't load at all (it doesn't show the other objects on it).

When the subform returns one or more employees, all good:
Capture d’écran 2018-05-07 à 19.43.54.png
When the subform has no matching row (no employee working in this company), nothing is displayed (not even the other objects which should appear):
Capture d’écran 2018-05-07 à 19.44.05.png
How can my form load properly even when a subform returns no row ?

Thanks

Re: Subform object blocking the loading of a form if empty

Posted: Mon May 07, 2018 11:54 pm
by admin
marcvander,

I have fixed that now.

You can grab the latest from Github and run Update.

Please let me know if it now works for you.

Steven

Re: Subform object blocking the loading of a form if empty

Posted: Tue May 08, 2018 6:04 pm
by marcvander
Hey,

thanks a lot :)

So I download the latest files from GitHub, and replace them on my web server with the old ones ?

And then I run Update on the dashboard to update the mysql database ?

Re: Subform object blocking the loading of a form if empty

Posted: Tue May 08, 2018 6:45 pm
by toms

Re: Subform object blocking the loading of a form if empty

Posted: Wed May 09, 2018 12:49 am
by admin
.

Re: Subform object blocking the loading of a form if empty

Posted: Wed May 09, 2018 7:26 pm
by marcvander
Just did it, and it all works fine. The bug is fixed! Thanks for this reactivity!

Re: Subform object blocking the loading of a form if empty

Posted: Thu May 10, 2018 12:14 am
by admin
.