It looks like you're new here. Sign in or register to get started.
OBJECT Page 70003 xxxx { OBJECT-PROPERTIES { Date=17-05-29; Time=11:02:17; Modified=Yes; Version List=#STB01#; } PROPERTIES { SourceTable=Table27; PageType=List; OnOpenPage=BEGIN CLEARMARKS; END; OnAfterGetRecord=BEGIN Marked := MARK; END; } CONTROLS { { 1000000000;0;Container; ContainerType=ContentArea } { 1000000001;1;Group ; Name=Group; GroupType=Repeater } { 1000000005;2;Field ; SourceExpr=Marked; OnValidate=BEGIN IF Marked THEN MARK(TRUE) ELSE MARK(FALSE); END; } { 1000000002;2;Field ; SourceExpr="No." } { 1000000003;2;Field ; SourceExpr=Description } { 1000000004;2;Field ; SourceExpr="Assembly BOM" } } CODE { VAR Marked@1000000000 : Boolean; PROCEDURE GetSelectionFilter@1000000000(VAR Item@1000000000 : Record 27); BEGIN MARKEDONLY(TRUE); IF FINDSET THEN Item.COPY(Rec); END; BEGIN END. } }
CurrPage.SETSELECTIONFILTER(Recordvar)
Answers
You can multiselect in any list page, SETSELECTIONFILTER returns the marked records to "RecordVar"
Hope this helps.