This discussion is archived
0 Replies Latest reply: Dec 26, 2010 2:13 AM by 818481 RSS

[J2ME] RMS index of an record

818481 Newbie
Currently Being Moderated

Is there any way to get an ID of record, I mean to search through the RMS with the string phrase and get the ID of an record which contains the given string.
I' ve tried with this:

"There is no method to get the record ID. To work around this, every time you create a new record, add its record ID to a vector like this:

Vector recordIDs = new Vector();
int lastID = 1;
//Add a record....parameters are missing here
// Now add the ID to the vector
recordIDs.addElement(new Integer(++lastID));"

but this is not what I'm looking for



  • Correct Answers - 10 points
  • Helpful Answers - 5 points