Complier error after upgrade to FR2.51

After upgraded to FR2.51. The error "Undeclared identifier: 'UseDefaultDataSetName'" appear when I compile the program.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:40PM
    sounds like you have a variable in your project that is not declared,
    check your code.
    regards ;)
  • OldorfOldorf Copenhagen Denmark
    edited 5:40PM
    Yeah right gordk !

    The problem lies within FastReport itself, the compile error is fired at
    line 929 column 18:
    if CurReport.UseDefaultDataSetName then
    Looking at The TfrReport class clearly shows that there are no property or
    method called UseDefaultDataSetName.

    Remming out the commands doesn't help either, if you do you will get a
    lot of other errors, not related to the FR_Utils unit !

    So on behalf on forrestlo and me, What to do ?


    Reggies
    Olrik ( Oldorf )
  • Bert BinnenmarschBert Binnenmarsch Terneuzen
    edited 5:40PM
    You can find this property in fr_class.pas.
    Maybe you have forgotten to update fr_class.pas.
    The file Setup.txt contains information on how to properly install FR 2.51.

Leave a Comment