Details of a database table record
Login to reply to this topic.
Tue, 2007-11-06 12:01
Joined: 2007-11-02
Forum posts: 23

Hi,
i worked a bit on database.
i didn't get the retreve the inf of one emprecord.

plz ,its urgent .Can any one help me..............

TBuf<40> name;
TUint32 id;
TBuf<40> Description;

CDesCArrayFlat* resultArray = new (ELeave)CDesC16ArrayFlat(KArrayGranularity);

_LIT(KRetreve, "SELECT Name , Id , Description FROM EMP WHERE Name LIKE 'raj ' ORDER BY 10");

idbSession.Connect();
//CleanupClosePushL(idbSession);

database.Open(idbSession,KDatabaseName);
database.Execute(KRetreve);

this is working but how can we view the details of the query?????????????????/
//return resultArray;


Tue, 2007-11-06 12:13
Joined: 2004-05-24
Forum posts: 982

If you want to select/retrieve smth from db you may want to work with RDbView....


pirosl

Wed, 2007-11-07 05:16
Joined: 2007-11-02
Forum posts: 23

thanks a lot

anything but i want to retreve record details.
either by using select stmt or RDViews.............


copyright 2003-2009 NewLC SARL