Share your advanced PureBasic knowledge/code with the community.
- Posts: 1089
- Joined: Wed Apr 30, 2003 8:15 am
- Location: Germany
If you need to know whether an DatabaseUpdate() has caused a change, you can query this as follows:
Code: Select all
Procedure.i Sqlite3_CountChanges (DBID)
Protected SQL.S = "SELECT changes()", Result.l = -1
If DatabaseQuery(DBID, SQL)
Result = GetDatabaseLong(DBID, 0)
"Daddy, I'll run faster, then it is not so far..."
- Posts: 1177
- Joined: Tue Mar 02, 2004 1:20 pm
- Location: Amphibios 9
Thanks & Greetings ... Peter