12-18-2012
Go
to main table reference for Display fields
Problem: My task was to enable the
go to main table reference for display fields (using display methods instead of
table fields)
Solved: In normal table fields EmplId used formref
properties to enable the go to main table reference for display fields. There are
no such properties. Rather than dynamics provides one method called jumpref. You can override this method
in forms to enable this go to main table functionality. Here I given some
sample code.
args = new Args();
args.caller(element);
args.record(Datasource);
menuFunction
= new MenuFunction(menuitemdisplaystr (menuitemname),MenuItemType::Display);
menuFunction.run(args);
No comments:
Post a Comment