Library: TDDBUtils.b4xlib
Language: B4A
Version 1.8
Manual: Version 1.5.2 (did some checks and improvements, added SQLCipher tutorial)
Status: Work in Process
(C) This library is free for non commercial use other use see manual.
New to 1.8:
This library supports the development of database driven Application (SQLite3/SQLCipher 4) with a growing (Work in Process) list of handy functions to make developers life easier. All the functions are explained in the attached manual. The lib code is well documented. To examin or modify the code rename TDDBUtils.b4xlib to TDDBUtils.zip uncompress it and get a readable .bas file.
Please report any error or whish or proposal via a reply to this post or direct to [email protected].
See also brand new library extended Nativ Views working well together with this library in case of development of database driven apps.
List of Functions:
Manage Database
supported views: EditText, Label, RadioButton, CheckBox, ImageView
Language: B4A
Version 1.8
Manual: Version 1.5.2 (did some checks and improvements, added SQLCipher tutorial)
Status: Work in Process
(C) This library is free for non commercial use other use see manual.
New to 1.8:
- optimized code
- fixed some errors
- Added grouping and sorting of records to select1
- Added new function 'findRecord' to return cursor position by select condition
- Updated lib attached
This library supports the development of database driven Application (SQLite3/SQLCipher 4) with a growing (Work in Process) list of handy functions to make developers life easier. All the functions are explained in the attached manual. The lib code is well documented. To examin or modify the code rename TDDBUtils.b4xlib to TDDBUtils.zip uncompress it and get a readable .bas file.
Please report any error or whish or proposal via a reply to this post or direct to [email protected].
See also brand new library extended Nativ Views working well together with this library in case of development of database driven apps.
List of Functions:
Manage Database
- OpenDB
- CloseDB
- startTransaction
- commitTransaction
- setDBcompactMode
- compactDB
- gettableNames
- getColumnsInfo
- findColumnInfo
- catch and identify SQLError
- insert
- update
- delete
- save
- select1, simple select with grouping and sorting
- select2, select spread 2 joined tables
- select3, select based on a date
- select4, report Max/Min,Avg,Sum,Count values
- dateDifference, select between 2 dates
- find a record
- checkDBNull
- checkExists
- EncryptText
- DecryptText
supported views: EditText, Label, RadioButton, CheckBox, ImageView
- clearViews
- Views2Columns
- Columns2Views
Attachments
Last edited: