Hi Josep,
Actually what you need to do is something like this:
CString theCard = "342345";
long theAmount = 330;
CString theDate = "980606";
CString strSql;
strSql.Format( _T("INSERT INTO Account (card,amount,date) VALUES
('%s',%d,'%s');"), theCard, theAmount, theDate );
pdb->ExecuteSQL( strSql );
HTH
--
===================
Frank Hickman
Computers Plus
===================