Community
Showing results for 
Search instead for 
Do you mean 
Reply

2011 SDK Open method causing trouble

New Member
Posts: 1
Country: Pakistan

2011 SDK Open method causing trouble

[ Edited ]

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]);
             
        }

 

 

Message Edited by faheem on 06-11-2010 08:24 PM
Nickel Elite Contributor
Posts: 937
Country: USA

Re: 2011 SDK Open method causing trouble

This forum covers ACT! by Sage - try posting to the Peachtree community forum @ http://community.peachtree.com/