FilterPageBuilder.PageCaption([Text]) Method
Version: Available or changed with runtime version 1.0.
Gets or sets the FilterPageBuilder UI caption. Defaults to the resource text if not explicitly set.
Syntax
[PageCaption := ] FilterPageBuilder.PageCaption([PageCaption: Text])
Note
This method can be invoked using property access syntax.
Parameters
FilterPageBuilder
Type: FilterPageBuilder
An instance of the FilterPageBuilder data type.
[Optional] PageCaption
Type: Text
The value to set for the FilterPageBuilder UI caption.
Return Value
[Optional] PageCaption
Type: Text
The current value of the FilterPageBuilder UI caption.
Example
var
varFilterPageBuilder: FilterPageBuilder;
Customer: Record Customer;
Item: Record Item;
varDateItem: Text[30];
begin
varFilterPageBuilder.AddRecord('Item Table', Item);
varFilterPageBuilder.Addfield('Item Table', Item."No.", '>100');
varFilterPageBuilder.PageCaption := 'Item Filter Page';
varFilterPageBuilder.RunModal;
Item.SetView(varFilterPageBuilder.Getview('Item Table'));
end;
Related information
FilterPageBuilder Data Type
Creating Filter Pages for Tables
Get Started with AL
Developing Extensions