dynalink info in caption of forms

Question:
When opening a form with a dynalink to some record, this dynalink information
is automatically added to the form caption, often making the caption very
long and hard to read. Example: Open the SalesTable form from a debtor
record.

Answer 1.
you can add this line befor super() call in init() method of the form.

element.args().record(NULL);

Answer 2.
You can override the active method on the datasource and add the
following line there:

element.design().caption(strfmt("%1", smth));

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.