BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-17-2009, 11:51 AM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: aircel
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to edit and delete particular record in persistence store

Please Login to Remove!

Hi, I stored some datas in Persistence storage using PersistentObject and PersistentStore classes. I want to edit and delete a particular record in the persitence store. Its possible to edit and delete particular record. If its possible can some give sample code for that.
Offline  
Old 08-17-2009, 12:30 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

You simple update the member values of your objects and call commit.

There is sample code in the developer guide: http://docs.blackberry.com/en/develo...ent-4.7-US.pdf
__________________
My other Blackberry is a PlayBook.
Offline  
Old 08-17-2009, 12:40 PM   #3 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: aircel
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks hrbuckley. Let me check this.
Offline  
Old 08-19-2009, 11:13 AM   #4 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: aircel
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi hrbuckley, its working fine. thanks for ur help.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Restseitenband B585 IF Filter for Antennas Transducer 38,90MHz SIP-19 8/12ft
$2.24
Restseitenband B585 IF Filter for Antennas Transducer 38,90MHz SIP-19 8/12ft picture10Pcs Ultrasonic Module Distance Measuring Transducer Sensor Dc 5V Us-015 Ic N J
$11.38
10Pcs Ultrasonic Module Distance Measuring Transducer Sensor Dc 5V Us-015 Ic N J picture10Pcs Angular Transducer Dht21/Am2301 Sht11 Sht15 Arduino Ic New O
$31.43
10Pcs Angular Transducer Dht21/Am2301 Sht11 Sht15 Arduino Ic New O pictureNew Siemens Milltronics Ultrasonic Transducer XPS-10F
$499.99
New Siemens Milltronics Ultrasonic Transducer XPS-10F pictureDWYER INSTRUMENTS Pressure Transducer, 0 to 100 psig, Arduino, Raspberry Pi, etc
$48.0
DWYER INSTRUMENTS Pressure Transducer, 0 to 100 psig, Arduino, Raspberry Pi, etc picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.