gayatrisona 0 Newbie Poster

I am facing a problem in Borland C++ code.
There is a database in SQL server 2005. Merge publication is done on the database.
the borland c++ application connects to that database. There is one table in the database named DBTable which we are trying to open in the following code. The call to open() function fails with an error message "General SQL Error:[Microsoft][ODBC SQL Server Driver]Numeric Value out of range"

DBTable = new TTable(Application);
DBTable ->TableName = "SID";
DBTable ->DatabaseName = pDB->DatabaseName;
DBTable ->Open();

The table conatins around 2 lac records and the columns are of type- int,int,int,varchar(4000)

If the merge publication is deleted then there is no error produced.