0 Replies Latest reply on Dec 26, 2010 10:13 AM by 818481

    [J2ME] RMS index of an record

    818481
      Hello

      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
      db.addRecord();
      // Now add the ID to the vector
      recordIDs.addElement(new Integer(++lastID));"

      but this is not what I'm looking for


      regards