GetAutoBindCol Function

Action

Gets the value of the Silk Performer autobindcol setting.

Include file

Kernel.bdh

Syntax

GetAutoBindCol(): boolean;

Return value

  • true. Automatic binding for columns in a SELECT clause of a SQL statement will be performed. If you have not specified an INTO clause for the columns in the SELECT clause, columns will be bound to a Silk Performer buffer array automatically.

  • false. No automatic binding for columns in a SELECT clause.

Example

dcltrans
  transaction TGetAutoBindCol
  var
    bAutoBind: boolean;
  begin
    bAutoBind := GetAutoBindCol();
    if bAutoBind then
      write("automatic binding"); writeln;
    else
      write("no automatic binding"); writeln;
    end;
  end TGetAutoBindCol;

Output

automatic binding