diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-07 21:58:34 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-07 21:58:34 -0500 |
commit | c740211ffba3330d951f4c3ddefea8edf23a01cd (patch) | |
tree | 0a8b7641d3c5b576d18a2f7912c75fc600f494e2 /src/sql/qsqlcursor.cpp | |
parent | 8a4eacb6185de3653f6ae401c352aef833a9e72a (diff) | |
download | tqt3-c740211ffba3330d951f4c3ddefea8edf23a01cd.tar.gz tqt3-c740211ffba3330d951f4c3ddefea8edf23a01cd.zip |
Automated update from Qt3
Diffstat (limited to 'src/sql/qsqlcursor.cpp')
-rw-r--r-- | src/sql/qsqlcursor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/qsqlcursor.cpp b/src/sql/qsqlcursor.cpp index b2a53dbdd..3e4624803 100644 --- a/src/sql/qsqlcursor.cpp +++ b/src/sql/qsqlcursor.cpp @@ -1007,7 +1007,7 @@ TQString TQSqlCursor::toString( const TQSqlIndex& i, TQSqlRecord* rec, const TQS \printuntil insert In the above example, a cursor is created on the 'prices' table - and a pointer to the insert buffer is atquired using primeInsert(). + and a pointer to the insert buffer is acquired using primeInsert(). Each field's value is set to the desired value and then insert() is called to insert the data into the database. Remember: all edit operations (insert(), update() and delete()) operate on the @@ -1175,7 +1175,7 @@ TQSqlRecord* TQSqlCursor::primeInsert() In the above example, a cursor is created on the 'prices' table and is positioned on the record to be updated. Then a pointer to - the cursor's edit buffer is actquired using primeUpdate(). A new + the cursor's edit buffer is acquired using primeUpdate(). A new value is calculated and placed into the edit buffer with the setValue() call. Finally, an update() call is made on the cursor which uses the tables's primary index to update the record in the |