title: Undeclared identifier:
body: <p>I have an  EXCEL sheets witgh various </p>
  
  <p>C:\Documents and Settings\delfi\MilkDataMgr\FtsExcel.pas(2056):Undeclared identifier: <code>smrBgm167GallonsGrosssDA'</code></p>
  
  <pre><code>procedure convertXSLToDelfi(fuel: TFtsFuelTypes; const prefix: string);
  var
  ColumnNameMap  : TStrings;
  i              : Integer;
  other          : string;
  begin
  
     { ColumnNameMap  := TStrings; }
     ColumnNameMap  := TStringList.Create;
     ColumnNameMap.Values['smrBgm229GallonsGross']:=' smrBgm167GallonsGrosssDA';
     i := ColumnNameMap.IndexOfName(smrBgm229GallonsGross);
       if i &gt;= 0 then
       smrBgm229GallonsGross:= ColumnNameMap.Values[smrBgm229GallonsGross]
       else
       smrBgm229GallonsGross:= smrBgm229GallonsGross;
  end;
  </code></pre>
  
  <p>a detailed issue is in this link, i folowed the solution offered there
  <a href="https://stackoverflow.com/questions/1460297/how-to-create-delphi-4-structure-to-map-column-names-in-xls-to-column-names-in-sq">how to create Delphi 4 structure to map column names in XLS to column names in SQL</a></p>
  
  <p>I am just picking up threads kindly help me out.</p>