#1 2013-02-04 17:13:04

ManUn
Member
Registered: 2013-02-04
Posts: 22

Update SQlite database

Hello everybody!!

I'm using TSQLRestServerDB.Update to update a record, in the first time works fine but on a second time it doesn't update the record.

What could be the cause to this problem? Is because I'm trying to update it two times in a row?

Last edited by ManUn (2013-02-04 17:21:28)

Offline

#2 2013-02-04 18:30:57

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Update SQlite database

There is no reason why it can't update twice.

I suspect the 2nd time you do not have any ID set in the record.

You can step in the Update method with the debugger and check what is happening.

Offline

Board footer

Powered by FluxBB