Article Preview
Buy Now
COLUMN
Automatic Transaction Rollback
Leverage REALbasic Memory Management
Issue: 5.2 (January/February 2007)
Author: Charles Yeomans
Author Bio: Charles is the author of "I Declare: Calling External Functions in REALbasic," available online at
Article Description: No description available.
Article Length (in bytes): 6,712
Starting Page Number: 37
Article Number: 5214
Related Web Link(s):
http://www.declareSub.com/
Excerpt of article text...
Database transactions require a lot of error-checking code. However, we can take advantage of memory management in REALbasic to simplify error-checking and make it more robust.
Here is a typical example block of database transaction code.
Sub PerformExampleTransaction(db as Database)
db.SQLExecute "INSERT INTO table1 ('foo')
if db.Error then
...End of Excerpt. Please purchase the magazine to read the full article.