Problem in insert and update data same time

Login to reply to this topic.
Mon, 2007-07-16 09:44
Joined: 2007-06-27
Forum posts: 25

Hi

i used RDbNamedDatabase for sharing purpose. Inserting and reading operation do perfctly in simultenous.

but problem in insert and update.
suppose 3rd record i insert at that time i update 2nd record than time my application do nothing and not give me any panic also.

i problem is in following code in simultenous process:

table.InsertL();
CFileLogger::WriteLogL(_L("InsertL"));
table.SetColL(InSmsColSet->ColNo(KColContact), aContact); // col = 1
writeStream.OpenL(table, InSmsColSet->ColNo(KColText)); // col = 2
writeStream.WriteL(aMsgText);
writeStream.Close();
table.SetColL(InSmsColSet->ColNo(KColDt), aDateTime); // col = 3
table.SetColL(InSmsColSet->ColNo(KColStatus), aStatus); // col = 4

table.InsertL() function close process so please tell me what can i do?

  • Login to reply to this topic.