10-22-2010 07:56 AM
Hi All
is there a way i can delete all the records in my recordstore? something like a reset?
i tried RecordStore.DeleteRecord("MyRecordStore");
But when i create a new recordstore with the same name, the records are still there!!
i want to create a new blank recordstore with the same name but with all fields having null value. Can someone please help me here?
Thanks,
Saket
10-22-2010 08:09 AM - edited 10-22-2010 08:12 AM
RecordStore.deleteRecordStore(recordStoreName);
Sorry I missread the Thread.
It is used for delete RecordStore.
Thanks
Nitin
--------------------------------------------------
Press Kudo to say thank to developer.
Also Press the Accept as solution Button when u got the Solution.
10-22-2010 08:14 AM
RecordStore.DeleteRecord(RecordStoreName) should delete a recordstore right?
but why does it so happen that when i create a new recordstore with the same name after performing the above operation i can view the records in the recordstore???
Thanks,
Saket
10-22-2010 08:23 AM
RecordStore.deleteRecordStore(RecordStoreName): will delete the RecordStore.
And you can create a newone with Same Name.
I think U should not have not that type of Problem.
try it.
And Let me Look at my Side.
B'coz in my previous Project, I used this, I was not getting any Problem.
--------------------------------------------------
Press Kudo to say thank to developer.
Also Press the Accept as solution Button when u got the Solution.
06-07-2012 07:39 AM
Hi,
I am also facing same problem. My application is working on OS 4.5 to 7. All other devices except 7 OS is deleting the recordstore. I dont know why it is not deleting from teh reocrd store. please help me.
Thans
meera