method modifier Display is added to the beginning of the method definition line
to allow the returned value to be displayed on a form (or report).
Display methods can be created either on a table or on a form data source. If it is
created on the form data source, then it takes the table as a parameter. If possible
a display method should be created on the table itself, but there are situations
where it has to be on the form data source, for example, if it uses an unbound
control on the form.
The following example is from the InventJournalTable form, and displays the
user ID of the user that is locking a journal.
1 2 3 4 5 6 | //BP Deviation documented display JournalBlockInUseUserId inUseUserId(JournalTableMap _journalTable) { return journalFormTable.datasourceMethodInUseUserId(_journalTable); } |
Best Regards,
Hossein Karimi
No comments:
Post a Comment