Skip to content

Flow documentation · legacy product

DBCons ​

Declaration ​

property DBCons[index] : TFloDBCon;

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Source.DBCons[0].DBCon.Database; //the name of the database
end;

Description ​

This is an array which returns a reference to the specified DB Connection link object. You can then use properties of the DB Connection object. DB Connections are a zero based array therefore 0 is the first DB Connection.

TIP

Note: The DBCons array returns reference to the DB Connection link object. To access the actual DB Connection object you need to use the .DBCon property of the link object as per the above example.