hello,
I am migrating from BDE to ADO. I have the following BDE Code
try
{
Session->GetTableNames(database->DatabaseName, "", false, false, TableList);
if (TableList->IndexOf(TableName) >= 0)
{
retVal = true;
}
}
catch(EDBEngineError &e)
{
}
delete TableList;
return retVal;
}
I am replacing it with
try
{
database->GetTableNames(TableList,false);
if (TableList->IndexOf(TableName) >= 0)
{
retVal = true;
}
}
catch(EDBEngineError &e)
{
}
delete TableList;
return retVal;
}
What I don't know is what replaced EDBEngineError &e with ADO vs BDE. Can someone tell me what the new exception is?
Thanks
I am migrating from BDE to ADO. I have the following BDE Code
try
{
Session->GetTableNames(database->DatabaseName, "", false, false, TableList);
if (TableList->IndexOf(TableName) >= 0)
{
retVal = true;
}
}
catch(EDBEngineError &e)
{
}
delete TableList;
return retVal;
}
I am replacing it with
try
{
database->GetTableNames(TableList,false);
if (TableList->IndexOf(TableName) >= 0)
{
retVal = true;
}
}
catch(EDBEngineError &e)
{
}
delete TableList;
return retVal;
}
What I don't know is what replaced EDBEngineError &e with ADO vs BDE. Can someone tell me what the new exception is?
Thanks