Hi all,
I have reused a correspondence forms in my project to allow the users to edit documents in whatever context the happen to be in.
In Correspondence
→ Correspondence_detail (unrelated)
In People_correspondence
→ correspondence_list (related: people_to_correspondence)
→ correspondence_detail (related: people_to_correspondence)
In Companies_correspondence
→ correspondence_list (related: companies_to_correspondence)
→ correspondence_detail (related: companies_to_correspondence)
In Projects_correspondence
→ correspondence_list (related: projects_to_correspondence)
→ correspondence_detail (related: projects_to_correspondence)
After a bit of testing we discovered that the ‘correspondence_detail’ form would sometimes show the wrong record, particularly after backtracking using the Servoy back button.
I then replaced the ‘correspondence_detail’ with form_instances based on ‘correspondence_detail’. This fixed the lagging behind problem.
The problem is that ‘correspondence_detail’ has a tab panel with 3 tabs, an email address tab, a fax number tab and a post address tab. This are unrelated since they are supposed to share the foundset with ‘correspondence_detail’.
The problem is that these tabs are not showing the correct record.
So the question is, do tab panels on form instances have to be populated with form instances??
Servoy 3.5.6.