UserDataSet and Graphics

edited 10:50PM in FastReport 4.0
I am trying to use a TfrxUserDataSet to feed my Report.
The report is able to obtain values of text fields, but I am unable to get the report to read Graphics fields.
The problem is that even though a Graphic on the report is set to the correct DataSet and DataField, it never queries the UserDataSet for the Graphics field! [img]style_emoticons/<#EMO_DIR#>/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> I am using FastReport 4.5. Thanks![/img]

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:50PM
    IIRC the user dataset does not read the blob you will need to use the obp event of the image view
    and write a handler to read the blob stream and load the stream into the pictureviews picture property.
  • edited 10:50PM
    gordk wrote: »
    IIRC the user dataset does not read the blob you will need to use the obp event of the image view
    and write a handler to read the blob stream and load the stream into the pictureviews picture property.

    Hi Gordk,

    I won't start a new thread since my question is similar.
    Could you be more specific please?

    I have an img in a file. And in my database I have a field for "vectors" (a text array of commands that allow me to recreate the drawing of a user).
    I should mix the img and the vectors, and show it on the report.

    I can create a TBitmap, but how can I use it in my report? I cannot use blob calculated field [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Thank you very much[/img]

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.