Notifications
Announcements
No record found.
Hi everyone. I have a table with a field that extend Extended Data Types and this one again extend from another Extended data Type that has a lookup form in FormHelp.
When I open the table and I do clic in this field, it open a form with the single value, when It has a value, and when It hasn't appears empty with a sigle selection option like combobox. But is closes when you clic on it.
Any clue whats wrong?
Thank you for your time.
Hi Alain.z
Is it a custom form used in FormHelp?
From the upper part, it seems that AllowCreate\AllowDelete\AllowEdit\InsertAtEnd\InsertIfEmpty properties are not set to No on data source of the lookup form, so form is opened with edit capabilities.
Do you have any relations between table from where lookup is opened and table used in the formHelp form? Probably relation was not set correctly.
Hi Sergei Minozhenko.
Yes It's a custom form. (I did´nt do it) I'm new about Dynamics. You where right about the properties that were set to yes. It fixes the point of edit capabilities.
Relations:
The init method from FormHelp form has this code:
element.selectMode(BTable_field1); Like I said, I'm new in dynamics so I don´t know what it does.
Thank you for everyting.
Hi Alain.z,
It could dynalink issue. When the relation is set up between tables or on EDT and you open a form that contains a related table as root data source records in this data source are filtered by value from the related field on the original record.
You can clear dynalinks by executing clearDynalinks method on query build data source object. In form B you need to expand data sources node and on the root data override method init and execute clearDynalinks method after super call.
void init() { super(); this.query().dataSourceName(this.name()).clearDynalinks(); }
Hi Sergei Minozhenko,
It works perfect with "this.query().dataSourceTable(tablenum(tablename)).clearDynalinks();".
Thank you very much.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 592 Most Valuable Professional
André Arnaud de Cal... 478 Super User 2025 Season 2
BillurSamdancioglu 305 Most Valuable Professional