Master and masterfields with multipe fields

psppsp
edited 6:20AM in FastReport 4.0
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:
  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?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.