×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    16

    About RMS sequence

    Hi,

    My code works fine with re.hasPreviousElement() & re.prevousRecordID but in Nokia N

    series the seq gets changed & i need to change the code as re.hasNextElement() &

    re.NextRecordID() so can i combine these two conditions??

    thanks & regards,

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: About RMS sequence

    Quote Originally Posted by j2me8 View Post
    Hi,

    My code works fine with re.hasPreviousElement() & re.prevousRecordID but in Nokia N

    series the seq gets changed & i need to change the code as re.hasNextElement() &

    re.NextRecordID() so can i combine these two conditions??

    thanks & regards,
    Hi,
    Please make last 3 lines more clear,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Nokia Developer Expert
    Join Date
    May 2007
    Location
    Mexico D.F
    Posts
    351

    Re: About RMS sequence

    Yes, you can combine them.
    Just when you use the nextRecordID() the enumeration moves to the next possition.
    When you use hasNextElement() the enumeration only check availability of the next element.

    Remember, records are never guaranteed to be secuencial.
    :Ruben

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Ahmedabad
    Posts
    254

    Re: About RMS sequence

    Hi,

    One more thing with using Record Enumeration is that the order of processing is not fixed. Its not necessary that it will start from 1st record. I have used Record enumeration and it was processing in decreasing order.
    Sunil
    Mobile Application Developer

Similar Threads

  1. RMS data LOST problem in 3410!!!
    By bitsonic in forum Mobile Java General
    Replies: 6
    Last Post: 2009-03-27, 09:50
  2. Replies: 8
    Last Post: 2008-07-27, 03:30
  3. RMS record sizes.
    By earamsey in forum Mobile Java General
    Replies: 1
    Last Post: 2007-10-18, 13:51
  4. Create a RMS before 1º execute
    By Pepper_91 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-07-11, 17:27
  5. 7210 & 7250 RMS resetting problem
    By keithmcneill in forum Mobile Java General
    Replies: 1
    Last Post: 2003-11-13, 21:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×