Here is my situation– I created a registration activity that will accept user’s data and store it in a table. After registering, user is directed to a confirmation page wherein he will be shown his/her memberid which is randomly generated. Now, i want to associate this number to the particular person who registered and save his name and password(which is stored in register table along with other details) along with memberid in a new table so that i can then login. Can you guys help me with this.
Here is my situation– I created a registration activity that will accept user’s data
Share
USe Cursor to get all the details you want from the database.
And then create a new Table as you like just insert the retrieval record in to the new Table with your random generated id.
OR
Instead of creating new Table you can just Alter the main table to add your random generated id. It saves memory.
EDIT:
Hope it helps.