Table of Contents

GetWhereClauseFromView Procedure

Codeunit RecRef Functions

Gets the WHERE clause from a view text.

Signature

GetWhereClauseFromView(View: Text) WhereClause: Text

Parameters

View Text

The view text to extract the WHERE clause from. This is often returned by Record.GetView() or, preferably, by Record.GetView(false).

Returns

Text

The WHERE clause, ie. the text inside the parenthesis of WHERE(), or an empty string if no WHERE clause was found.

This documentation is generated from Smart Toolbox v27.1