Master and masterfields with multipe fields
Hello,
I want to use multiple fields in the option masterfields, but it doesn't work. I had use FRAX before (Fast Reports for Xbase++) and now Fast Reports VCL 4 for Delphi XE 4. In FRAX it works correctly, but in FR VCL not.
Here is my code-sample for the object written in Delphi:
The 3 resulting records in buchhilf are assigned to each record (14) in pstatus in place of the 2 records, that accords to the master field-condition.
What's wrong?
I want to use multiple fields in the option masterfields, but it doesn't work. I had use FRAX before (Fast Reports for Xbase++) and now Fast Reports VCL 4 for Delphi XE 4. In FRAX it works correctly, but in FR VCL not.
Here is my code-sample for the object written in Delphi:
  buchhilf := TfrxDBXTable.Create(nil);
  buchhilf.Database := FraxData;
  buchhilf.UserName := 'buchhilf';
  buchhilf.TableName := buchhilf_alias;
  buchhilf.IndexFieldNames := 'PERSNR;BUCHDAT';
  buchhilf.MasterFields := 'PERSNR;BUCHDAT';
  buchhilf.Master := pstatus;
  buchhilf.BCDToCurrency := true;
  buchhilf.Active := true;
The 3 resulting records in buchhilf are assigned to each record (14) in pstatus in place of the 2 records, that accords to the master field-condition.
What's wrong?