External Exception EEFFACE

FR2.51
Delphi 7


An error occured during calculation
DialogFrom.Table1.ReportLogo
Report: frReport1
Object: Picture1
External exception EEFFACE

followed by INVALID ARGUMENT

This error occurs only when running the compiled EXE. It does NOT occur in the delphi environment. A picture control is used to display a bitmap (report Logo) from a MS Access database table. This worked perfectly with FR2.47. Now, with FR2.51, I set the Picture.Datafield to the corresponding table/fieldname and it works fine in the environment, but not in the EXE. I can do a work-around and LoadFromFile, but I would rather not. Can anyone help ?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:16PM
    Hi
    Did you put your fr database engine components on the underlying form?
    regards ;)
  • edited 4:16PM
    The Delphi form has frBDEComponents1, frDialogControls1,frDesigner1, frReport1 and a few more on it.

    The Fast report dialog form has a the related table on it and a tfrBDEdatabase on it.

    Does that help? Am I missing something?
  • gordkgordk St.Catherines On. Canada.
    edited 4:16PM
    I expect that the problem is trying to access a ms acess table
    using bde dbengine components
    you would need the ado engine components.
    regards ;)
  • edited 4:16PM
    I'm still using Access95 because of the compatibility with the BDE. This App has always used it. With the 2.47 version of FR, it worked fine. Could I have screwed up the install of fr2.51 ? Everything else seems to work just fine.

    On a different note, I used ADO and Access2000 on a different app. and didn't like it at all. In fact, I totally hated ADO and changed it back to BDE and Access95
  • gordkgordk St.Catherines On. Canada.
    edited 4:16PM
    try compiling the fr\source\ado\components, see if you can access the table using them, if they will compile, you might have problems after having a2000 and going back to old version of access.
    strange
    gord ;)

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.