| Reply | « Previous Thread | Next Thread » |
|
I am storing login and password info as two strings.
but when user try to change its login or password,i need to store that data in next place.( i can't overwrite ) According to the documentation of deleteRecord(int recordid) method,we can't use this id again. So, that's mean,whenever user try to change this info,it will be written at new place and i need to compare a different record id to validate user info for login. Can we overwrite the data or can we store data at record id(1)=login record id(2)=password every time . Thanks for your time! Regards! |
|
Hi,
have u tried useing "setRecord(int recordId, byte[] newData, int offset, int numBytes)". You don't need to call deleteRecord(), just set the new login , password data at particular record id. au revoir Prakash Raman |
| prakash.raman |
| View Public Profile |
| Find all posts by prakash.raman |
|
Why can't you overwrite?
I'd recommend you put both pieces of information in the same record, and that you update that record when the details change. PHP Code:
|
| grahamhughes |
| View Public Profile |
| Find all posts by grahamhughes |
|
When login recordstore is empty then use addrecord else when want to overwrite the previous inforation then just use setRecord() function as graham suggests.
thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
Thank you guys,
"setRecord(int recordId, byte[] newData, int offset, int numBytes)" This solved my problem. Cheers |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| RMS data LOST problem in 3410!!! | bitsonic | Mobile Java General | 6 | 2009-03-27 10:50 |
| newbie : Writing RMS entry at Installation time--approx 200kb RMS data & 30k appsize. | raxitsheth | Mobile Java General | 8 | 2008-07-27 04:30 |
| RMS record sizes. | earamsey | Mobile Java General | 1 | 2007-10-18 14:51 |
| Minimum Physical Memory Needed by RMS? | walkal | Mobile Java General | 0 | 2004-03-17 02:55 |
| 7210 & 7250 RMS resetting problem | keithmcneill | Mobile Java General | 1 | 2003-11-13 22:04 |