Recent

Author Topic: TsSpreadsheetFormat Identifier not found  (Read 3763 times)

jojo86

  • Jr. Member
  • **
  • Posts: 52
TsSpreadsheetFormat Identifier not found
« on: February 02, 2017, 08:31:52 am »
Hi everybody.
In first, sorry if my english is bad, I'm french so i hope that you'll be indulgent !

So, I'm trying to update an app. In the past, this app used the fpspreadsheet 1.0 version and I was working with lazarus-0.9.30.4-fpc-2.6.0
I juste updated lazarus to the last version and my old fpspreadsheet can't works. So I downloaded the fpspreadsheet 1.6 and I have an error with my application when I'm compiling.

It's like if the fpstypes.pas can't be recognize by lazarus...
I tried to unistall fpspreadsheet and launch a new installation but I can't solve my problem. So I'm there and I hope that you coule help me !

In the top of my code uder the use class, I have the "fpspreadsheet" declaration.
My errors :
  • Fonctions.pas(424,15) Error: Identifier not found "TsSpreadsheetFormat"
  • Fonctions.pas(440,20) Error: Identifier not found "sfExcel5"
  • Fonctions.pas(441,18) Error: Identifier not found "STR_EXCEL_EXTENSION"
  • Fonctions.pas(445,20) Error: Identifier not found "sfOpenDocument"
  • Fonctions.pas(446,18) Error: Identifier not found "STR_OPENDOCUMENT_CALC_EXTENSION"
  • Fonctions.pas(450,20) Error: Identifier not found "sfCSV"
  • Fonctions.pas(451,18) Error: Identifier not found "STR_COMMA_SEPARATED_EXTENSION"
  • Fonctions.pas(455,20) Error: Identifier not found "sfOOXML"
  • Fonctions.pas(456,18) Error: Identifier not found "STR_OOXML_EXCEL_EXTENSION"

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: TsSpreadsheetFormat Identifier not found
« Reply #1 on: February 02, 2017, 10:28:39 am »
Did you add fpstypes to the uses clause of the units which call fpspreadsheet?

jojo86

  • Jr. Member
  • **
  • Posts: 52
Re: TsSpreadsheetFormat Identifier not found
« Reply #2 on: March 01, 2017, 11:03:36 am »
Yes I Did... It sucks, I can't explain the problem...

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: TsSpreadsheetFormat Identifier not found
« Reply #3 on: March 01, 2017, 11:31:48 am »
Then you must try to create a little demo which shows the issue and upload it here (only .pas, .lfm, .lpi and .lpr files, packed into a shared zip).

 

TinyPortal © 2005-2018