wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes how to get record ID?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "how to get record ID??" Watch "how to get record ID??" New topic
Author

how to get record ID??

Charline Louis
Greenhorn

Joined: Dec 15, 2008
Posts: 11
hi all,

i want to ask, how could i get the record ID from record i selected ???
because i think if i want to edit the record, i must know the record ID..

Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957
    
  19

I'm being very lazy here and not actually reading the documentation, but I thought that the record ID was part of the returned record.

:?:


Customer surveys are for companies who didn't pay proper attention to begin with.
Charline Louis
Greenhorn

Joined: Dec 15, 2008
Posts: 11
hi,

i have found the solution for this problem..
you just need to reset the recordEnumeration, then get the next record ID..
 
Consider Paul's rocket mass heater.
 
subject: how to get record ID??
 
Similar Threads
In struts2 delete is not Working
last_insert_id()
Tricky Update Statement
how to get the inserted record by using resultset in java?
providing edit, delete options to a table