UniDac Query/Table Access Violation

Hello,

i'm getting a Access Violation when I'm trying to add a UniDac Query or UniDac Table to my Report in the Designer. I'm able to add a UniDac Database.
I added the TfrxUniDACComponents.

Everything works fine at run-time.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:36PM
    if everthing runs fine at runtime as you state you probably have something that needs to acess delphi code
    this can not be done when in design mode by clicking on menu>file>preview as there is no acess to the delphi code.
  • edited October 2012
    Hey,

    Thanks for the respond.

    The only thing i'm doing in my code so far is "frRprt.DesignReport;"

    If i put a UniDacQuery on my Report at runtime then save the report and open it while the program isn't running anymore the UniDacQuery component is deleted from the Report.

    AdoQuerys and Tables are working fine. It just doesn't work with the UniDac components.

    Edit:
    I'm using FastReport 4.10.1 and UniDac 3.60.0.16

    Also i have another question: Is it possible to change the title in the Designer at runtime? Right now theres just "FastReport - Untitled.fr3". Is it possible to change it to "TestReport123"?

    Edit2:
    The Access Violations shows up as soon as i choose UniDacQuery/Table from the Popupmenu which shows after clicking on the "Uni"-Button on the left of the Report on the Data Page.

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.