Migrating from BDE to ADO

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

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories