When I open a record in another form with showFormInDialog it seems the relationship gets lost…
The only way to show something is to do a loadRecords or loadAllRecords..
Is this like it is supposed to be? Or is it that I do something wrong?
When I open a record in another form with showFormInDialog it seems the relationship gets lost…
The only way to show something is to do a loadRecords or loadAllRecords..
Is this like it is supposed to be? Or is it that I do something wrong?
if you’re let’s say in companyDetails and you want to show a popup with related contacts you would do this
forms.contacts.controller.loadRecords( company_to_contacts)
application.showFormInDialog( forms.contacts, , [y], [width], [height], [dialog_title])
In order to tell the contacts form what should be loaded you have to fill the loadRecords method with the relation name.(“company_to_contacts”)
Thanks maarten, that is exactly what I do but I expected that when I open a form this way that the data would run into that form the same way it does when you open a form the ‘normal’ way.
On the other hand, if it is intended this way I have no issuewith it…