I have an EXCEL sheets witgh various
C:\Documents and Settings\delfi\MilkDataMgr\FtsExcel.pas(2056):Undeclared identifier: smrBgm167GallonsGrosssDA'
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 >= 0 then
smrBgm229GallonsGross:= ColumnNameMap.Values[smrBgm229GallonsGross]
else
smrBgm229GallonsGross:= smrBgm229GallonsGross;
end;
a detailed issue is in this link, i folowed the solution offered there http://stackoverflow.com/questions/1460297/how-to-create-delphi-4-structure-to-map-column-names-in-xls-to-column-names-in-sq
I am just picking up threads kindly help me out.