Announcements
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 Sergei Minozhenko,
It works perfect with "this.query().dataSourceTable(tablenum(tablename)).clearDynalinks();".
Thank you very much.
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.
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
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.
André Arnaud de Cal...
294,217
Super User 2025 Season 1
Martin Dráb
232,978
Most Valuable Professional
nmaenpaa
101,158
Moderator