TfrxUserDataSet and TfrxPictureView

edited 2:31AM in FastReport 4.0
Hello,

I have assigned a TfrxPictureView to a MasterDataBand that is linked to a frxUserDataSet. Both the DataSet and the DataField properties of the PictureView are linked to the UserDataSet and the corresponding DataField. Unfortunately the OnGetValue eventhandler for the PictureViews DataField wont be executed as soon as i create the report.

At the moment the only way i've seen to solve the problem was to overwrite the OnBeforePrint event of the report and assign the value of the image there.

What am i doing wrong ?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:31AM
    probably shoud be using a frxdbdataset rather than the userdataset.

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.