Table of Contents

Method SetFieldAsQuery

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

SetFieldAsQuery(ISelectItem, Query)

Sets a field value to be populated from a subquery result.

public void SetFieldAsQuery(ISelectItem selectItem, Query query)

Parameters

selectItem ISelectItem

The column to set.

query Query

The subquery that will provide the value.

Remarks

The subquery must return a single column and single row. This is useful for copying data from other tables or performing calculations.

SetFieldAsQuery(string, Query)

Sets a field value to be populated from a subquery result.

public void SetFieldAsQuery(string fieldName, Query query)

Parameters

fieldName string

The name of the column to set.

query Query

The subquery that will provide the value.

Remarks

The subquery must return a single column and single row. This is useful for copying data from other tables or performing calculations.