AnyDAC
ContentsIndexHome
PreviousUpNext
Integration with 3d Party Products Questions

The list of questions and answers related to integration with 3d party products.

Group
Links
QP1: Is there FastReport (what else) add-on and is it supported officially?

A: AnyDAC comes with FastReport and few other add-on's. You can find them in AnyDAC\AddOn folder. We do not support them officially. All of them were made by the AnyDAC customers. The AnyDAC Team took an addons coordinator role on it self. So, if somebody would like to provide any new addon or change existing one, then AnyDAC team will appreciate, if you will send your code to us. 

 

QP2: Unidirectional query and DevExpress grid. With Query.FetchOptions.Unidirectional = True TDataset(Query) is not set as Unidirectional (TDataset(Qurey).IsUnidirectional = False). Because of that there are problems with DevExpress grid.

A: The problem is that setting TDataset(Qurey).IsUnidirectional to True will break TADDataSet functionality. At moment, I does not have a correct solution and need additional investigation. I will suggest to modify DevEx sources to overcome this issue. For that:

  • open ExpressDataController\Sources\cxDBData.pas unit
  • find there TcxDBDataProvider.IsUniDirectional and replace it with:

 

function TcxDBDataProvider.IsUniDirectional: Boolean;
begin
  if Assigned(DataSet) then begin
  {$IFDEF DELPHI6}
    if DataSet.IsUniDirectional then
      Result := True
    else
  {$ENDIF}
      if DataSet is TADRdbmsDataSet then
        Result := TADRdbmsDataSet(DataSet).FetchOptions.Unidirectional
      else
        Result := False;
  end
  else
    Result := False;
end;
What do you think about this topic? Send feedback!