Two
TFIBDatabase
methods supporting new commands RDB$GET_CONTEXT and RDB$SET_CONTEXT
implemented in Firebird 2 have been added.
function GetContextVariable (ContextSpace: TFBContextSpace; const
VarName: string): Variant;
procedure SetContextVariable (ContextSpace: TFBContextSpace; const
VarName, VarValue: string);
Note: New features 4-6 enable developers to easily use their own settings in the field repository.
Example:
If you need to set the EditMask property, add the EDIT_MASK field to the repository table; create a container; make it global by setting the IsGlobal property to True; and write the following code in the OnApplyFieldRepository event handler:
procedure TForm1.DataSetsContainer1ApplyFieldRepository(DataSet: TDataSet; Field: TField; FieldInfo: TpFIBFieldInfo);
begin
Field.EditMask:=FieldInfo.OtherInfo.Values['EDIT_MASK'];
end;
BrotherSoft Review Staff give one product the maximum 5 out of 5 Rating because this product is easy to use, it has a professional-looking interface, it is excellent compared to other programs in this section and so on >>