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:
optimized code
fixed some errors
Added grouping and...
Hi All,
I have a requirement to use a Raspberry PI as a Local DB server, but I need to support both Android and iOS clients.
I was looking at this post: https://www.b4x.com/android/forum/threads/mariadb-does-not-wait-for-query-results.132054/post-833507, and it seems to be straightforward with...
HAllo,
gibt es in B4A eine Möglichkeit, z.B. nach dem Löschen von Datensätzen, die Reihenfolge eines autoincrement-Feldes wieder upzudaten.
Was ich bisher im Web gefunden habe funktioniert anscheinend unter B4A nicht, ich erhalte ich eine Syntax-Fehlermeldung.
SQL1.ExecNonQuery2("ALTER TABLE...
Hi,
I am using the example in https://www.b4x.com/android/forum/threads/background-location-tracking.99873/#content. I added the required line to my manifest.
The app pauses when the screen turns black.
I did not change a thing besides that I added a SQL table that holds some data and when...
Hello, hope you are fine.
At present I have a probleme that I did not have before updating b4a suite to 11.20. and I need professional help.
Sub Process_Globals
Public SQLite As SQL ' Database object Sqlite Version 3
End Sub
Sub Service_Create
Try
' # copy...
Hallo,
ich habe eine App geschrieben, welche einwandfrei funktioniert und Daten über Bluetooth empfängt und diese in eine SQL Datenbank mithilfe der SQL Bibliothek schreibt. Dies funktioniert alles super.
Nun wäre es super, wenn parallel dazu alle Werte, welche in die lokale SQL Datenbank...
I have been using other people's work on this site for a number of years as I tried to learn how to code in this environment. I recently retired from a career in data collection programming involving writing applications to capture data from the shop floor and updating a remote sql server...
I sometimes build long complex SQL statements from code, and it takes a lot of effort to code and test, so figured why not build a class to do it for me?
Here's a very simple class (the example is in B4J) to build SQL statements from code. It consists of a very basic screen (only needed for the...
Hi all,
When my app is initially installed, it comes with a SQLite database. I'm working on code that allows end users to replace this SQLite database after the app has been installed - I would have them download and save the new database to the device's "Downloads" folder. During the...
hello my friends
I have the following database table and I want to extract the Monthly profit (from the profit column) information with the optimal code.
Does anyone have a solution ??
In fact, how many profit did we have per month?
like this :
Month 1 >> 250,000 $
Month 2 >> 300,000 $
...
It looks like I am a little late to the ABMaterial party but it seems interesting so I am trying to work through the tutorial. I am also VERY new to B4J so trying to learn it as well. I really like it so far.
The issue I am experiencing is with lesson 3 where it connects to a mySQL DB. I...
I can't seem to figure out how to deal with dates and "in" clauses for parameterized queries.
I'd be grateful if someone could tell me how to do it.
Thanks
Date
I have a date in string format, Postgresql wants that wrapped in apostrophes in order to accept it into a timestamp field
Dim...
Hello to you,
I'm working with SQlite Version 3 and as known this kind of database has no encryption or password protection. But there is an enhanced clone of the native database as a GitHub Open Source Project is's called SQLiteCipher. The Documentation says that it is working like a standard...
This is a small class to easily build SQL queries
declare an instance of the class clBuildSQL and initialize it
Private fBuildSQL As clBuildSQL
....
fBuildSQL.initialize
Insert record
Just pass as first parameter the table name and as second parameter a map with pairs keys/values...
This is a small class to easily build SQL queries
declare an instance of the class clBuildSQL and initialize it
Private fBuildSQL As clBuildSQL
....
fBuildSQL.initialize
Insert record
Just pass as first parameter the table name and as second parameter a map with pairs keys/values...
Buongiorno a tutti,
dovrei realizzare una APP dove deve scrivere dei dati su un DATABASE che sto aprendo su ALTERVISTA.
Ho frequentato un corso base di B4A tramite UDEMY, ora vorrei sapere se c'è un tutorial per vedere come accedere al DATABASE e come scriverci i dati una volta contenuto.
Ho una...
Hello,
a long time I looked for a more automatic handling of database driven application like binding views to a record and more. I searched the forum but did not found any answer. Why? The answer is my question was wrong! The good information I found an other member of the forum who lead me to...
I am having trouble loading an image (sql type: image) into my customlistview. Without the Image code all works fine, I would appreciate some here as I an running into walls.
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
'These...
My DB table has 5 fields (see attached)
When I try to add a record like this **200915, 862, 122, Anves3, ka¦116¶pr¦25¶aq¦89¶ch¦64¶ft¦1¶ca¦5**
with sql2.ExecNonQuery2("INSERT INTO history VALUES (?, ?, ?, ?, ?)", _
Array (Q.heute, Q.currentID, wtS.text, nName, A))
and then read it...