_LIT(KSQLInsert, "INSERT INTO employees (name, address, dept_num ) VALUES ('J Bloggs', '1 High Street,Newtown', 101)");
TInt ret = database.Execute(KSQLInsert);
but when i execute this application the first time..the database is created but the application crashes ...when i run it the next time and again it just keeps crashing without any compiler/linker or run time error.
can anyone tell me what i am missing out?
thanks for the reply..but even now when i have made the changes to the code it still wont run..can u tell me why?btw this is the code that i took from the SDK so i was assuming it should run and not crash..any leads?