I am using ODAC 9.7.26 on C++Builde 6.0.
My application connects to an Oracle server through a VPN and sometimes I receive an error message saying that some column was not found in the DataSet.
I have just one program line in the whole application which makes mention of the column (TIPOTARIFA):
Code: Select all
if(!ORA->getConfMedicao->FieldByName("TIPOTARIFA")->IsNull){
if( ORA->getTarifaGrupo->Locate("NUMABNT",
FMedicao->Config->TipoTarifa, TLocateOptions()) )
ValueListEditor1->Values["AROW"+IntToStr(ValueListEditor1->RowCount-1)] =
ORA->getTarifaGrupo->FieldByName("NOME_TARIFA")->AsString;
}
I can not find out nor understand why this exception is being raised. It does not happen every time and I could not reproduce the error running the application on the IDE.
Any clue on this question ?
Best regards.
Jayme Jeffman