[EMAIL PROTECTED] wrote:
> 
> When I execute the code, sqlraw 
> function print the pSql string, and this is the same I pass.
> The 
> Database descriptor is the same returned from open function, and status 
> code is OK!!!
> 
> But table value isn't updated.
> 

The code looks OK except for the typo (i.e. sPre[2048[ should be 
sPre[2048]).

I assume that your real table isn't named "table" since that is a keyword.

Can you open the database file using the sqlite3 command line utility 
and execute a select query to return or count the number of rows that 
match your update condition?

select count(*) from your_table where Address=7 and Port=1

If that gives a zero result you have your answer.

You might also want to show the create statement you used for the table 
you are trying to update.

HTH
Dennis Cote


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to