Table of Contents

LookupFieldNo Procedure

Codeunit RecRef Functions

Shows a Lookup page with the fields for the selected table.

Overloads

Name Description
LookupFieldNo(Integer; Integer; Boolean): Boolean Shows a Lookup page with the fields for the selected table.
LookupFieldNo(Integer; Integer; Record Field): Boolean Shows a Lookup page with the fields for the selected table.

LookupFieldNo(Integer; Integer; Boolean) Procedure

Shows a Lookup page with the fields for the selected table.

Signature

LookupFieldNo(TableNo: Integer; var FieldNo: Integer; IncludeAllFieldClasses: Boolean) : Boolean

Parameters

TableNo Integer

The number of the table that the fields should be filtered on.

var FieldNo Integer

The number of the field that the user selected. If a number other than 0 is provided, the page will be focused on that field.

IncludeAllFieldClasses Boolean

true to include fields with all Field Classes, "Flow Fields" and "Flow Filters" included. false to only show "normal" fields.

Returns

Boolean

true if the user selects a field, false if the user cancels.

LookupFieldNo(Integer; Integer; Record Field) Procedure

Shows a Lookup page with the fields for the selected table.

Signature

LookupFieldNo(TableNo: Integer; var FieldNo: Integer; var FilteredField: Record Field) : Boolean

Parameters

TableNo Integer

The number of the table that the fields should be filtered on.

var FieldNo Integer

The number of the field that the user selected. If a number other than 0 is provided, the page will be focused on that field.

var FilteredField Record Field

The field record with all filters set that should be used for the field list that will be presented to the user. All filters in all filter groups will be applied, together with some additional system filters.

Returns

Boolean

true if the user selects a field, false if the user cancels.

This documentation is generated from Smart Toolbox v27.1