06-11-2010 08:20 AM - edited 06-11-2010 08:24 AM
Hi there,
I have installed peachtree 2010 and 2011 (Both Quantum)
I called the open method of PeachtreeSession (SDK 2011) it gives the error.
(Could i have sample applications of SDK 2011)
Pervasive.Data.SqlClient.Lna.k: [LNA][Pervasive][ODBC Engine Interface][Data Record Manager][SPEng][Pervasive][ODBC Engine Interface][Data Record Manager]Data conversion failed because data cannot be converted due to data type mismatch or data overflow.
This is my code.
AuthorizationResult aut;
aut = ps.RequestAccess(comidlist[2]);
if (aut == AuthorizationResult.Granted)
{
Company co =
ps.LookupOpenedCompany(comidlist[2]);
co = ps.Open(comidlist[2]);
}
06-11-2010 08:35 AM