Hi everybody. I'm working with Delphi 7 and dbExpress driver for Oracle 4.40. The application works perfectly on Windows Server 2003 but when I run it on Windows Server 2008 the troubles appear. I use a procedure to open the application datasets in execution time. Something like this...
Code: Select all
procedure AbrirDataset(Data: TDataset; SQL: String);
begin
Data.Close;
if Data is TSimpleDataSet then
TSimpleDataSet(Data).DataSet.CommandText := SQL
else if Data is TSQLQuery then begin
TSQLQuery(Data).SQL.Clear;
TSQLQuery(Data).SQL.Add(SQL);
end;
Data.Open;
end;
I'm using TSimpleDataSet components but when it executes the Open method, it raises the exception "Maximum field number exceeded". What does it mean? And how can I fix it?. I really appreciate your help.