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 7:21AM
    sounds like you have a variable in your project that is not declared,
    check your code.
    regards ;)
  • OldorfOldorf Copenhagen Denmark
    edited 7:21AM
    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 7:21AM
    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

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.