> I confuse the syntax to do this

Are you confused about the sqlite syntax in general usage, or specifically 
about saving/retrieving an *object* in it's native form to a database?
 For instance, if you were to change the table in your example to have fields 
id (integer) ,firstName (Text) & lastName (Text), and forget about the object 
saving part of it, would you know how to do that?



-----Original Message-----
From: [email protected] on behalf of markflex2007
Sent: Sun 24/08/2008 22:26
To: [email protected]
Subject: [flexcoders] How to save object to SQLite and get it back?
 
Hi,

I still have question about the issue.

For instance,I have a object

var user: userVO = new userVO();
user.firstname = "Tom";
user.lastname = "Davis";

I want to save the object to SQlite and retrive it back in other 
screen.

For instance I have a user table that only have two field
(id,userobject).How to save the object to the table and retrive it 
back from SQLite.

I confuse the syntax to do this.Thanks for help.

Mark
   




______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
______________________________________________________________________

<<winmail.dat>>

Reply via email to