Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 18th, 2006, 05:20 AM
yhat yhat is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 15 yhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 14 m 31 sec
Reputation Power: 0
Rename RMS File

Dear All,

Hi! I'm new in J2ME. Can anyone tell me that is there any possibility for me to rename my record store using RMS into another name? Example :

static final String REC_STORE = "BM";

After updating the records, i want to rename it to BM2. Can i do that? Please advise.


Regards,
JC

Reply With Quote
  #2  
Old January 18th, 2006, 05:20 PM
destin destin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 18 destin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 6 m 19 sec
Reputation Power: 0
Send a message via AIM to destin
If you want to rename it you can't make it final.

Reply With Quote
  #3  
Old January 18th, 2006, 08:09 PM
yhat yhat is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 15 yhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 14 m 31 sec
Reputation Power: 0
Rename RMS File

Actually I wanna rename it because I need to update certain records into it. Is there any other way for me to update certain records for the selected one without saving renaming it?

Reply With Quote
  #4  
Old January 18th, 2006, 09:54 PM
destin destin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 18 destin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 6 m 19 sec
Reputation Power: 0
Send a message via AIM to destin
I'm not sure I understand your question. Like I said before, if you want to be able to modify any Object, you cannot make it final.

Java Code:
Original - Java Code
  1. static String REC_STORE = "BM";


If it's not final, you can do this.
Java Code:
Original - Java Code
  1. REC_STORE = "BM2";

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Rename RMS File


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT