Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Duplicate resource

edited October 2002 in End User
On my application, I create a form , drop in a TppReport , pipeline, etc
Everything works
fine as it has been for years.

The moment I drop a ppDesigner or a ppReportExplorer and try to compile it,
the following
error pops out . I tried on two diferent computers and both give the same
error as bellow

[Error] Warning Duplicate resource(s);
[Error] Type 6 (STRING), ID 43101;
[Error] File c:\program files\borland\delphi6\Rbuilder\Lib\rbIDE.res string
kept "Align Bottom"
"
"
"

However, if I compile the demos they run fine.
If I create a new application it works OK also.
Is it required that the ppDesigner or ppReportExplorer must be on the main
form?

I'm using ADS tables and installed everything as p/ the document. It worked
OK from the begining.

I searched all files on my application for references to adAds. It looks all
right.

Thanks for any help. I'm really looking forward to start using the
ReportExplorer

Cid Benac
cbenac@bellsouth.net

Comments

  • edited October 2002
    The problem with the duplicate resource error message was caused by the fact
    that
    the application also uses the PageSetup example from ReportBuilder.
    By removing the line bellow from the PageSetup.pas, the error disapeared

    {note: the ReportBuilder IDE strings are in rbIDE.res}
    //{$R rbIDE.Res}

    Looks like finally I'm ready to tap into power of the report explorer and
    designer!.

    Cheers,

    Cid Benac

    P.S. I'm not so sure this was the right place to post this thread but it
    looked like the most
    appropriate.
  • edited October 2002
    Hi Ben,

    these are the string resources needed to display the translated printer setup properties (function LoadStr) in demo 121.

    regards,
    Chris Ueberall;




    --
    regards,
    Chris Ueberall;
  • edited October 2002
    "Chris Ueberall [TeamDM]" wrote in message
  • edited October 2002
    Hi Ben,

    it doesn't matter in which unit (including the project unit *.dpr) you bind a resource. The resource will always be linked into the application, a resource doesn't have a unit reference elsewhere.

    regards,
    Chris Ueberall;
This discussion has been closed.