B4A Tutorial SQL tutorial - Erel    Oct 2, 2019   (20 reactions)   tags: sqliteimages, begin transaction, SQL Update 2018: New video tutorial: 263187269 The source code is available here: https://www.b4x.com/android/forum/threads/b4x-erel-teaches-programming-video-tutorials.88787/page-2#post-577932 Async methods: SQL with Wait For The following tutorial is obsolete: This tutorial covers the SQL library and its usage with Basic4android. There are many general SQL tutorials that cover the actual SQL language. If you are not familiar with SQL it is recommended to start with such a tutorial. SQL... B4A Tutorial Connect Android to MySQL Database Tutorial - Erel    Sep 20, 2018   (29 reactions) it is a MySQL database.
A tutorial for connecting to SQL Server is available here.
Android cannot connect...A new more powerful framework is now available: jRDC2.
This tutorial explains the basic concepts... B4J Tutorial SQL Tutorial - Erel    Dec 8, 2013   (6 reactions) B4J jSQL library is similar to Basic4android SQL library.
This tutorial will cover the differences.../android/forum/threads/sql-tutorial.6736/#content
jSQL library is not tied to any specific SQL engine. jSQL wraps Java JDBC mechanism and allows you to access any type of SQL database. Including remote... to add the jar to the package.
For example to connect to a MySQL database:
#Region Project... B4A Tutorial [B4X] B4XTable - Load data from SQL database - Erel    Feb 10, 2019   (34 reactions)   tags: b4xtable B4XTable.SetData expects a List where each entry in the list is an array of objects with the data of a single row. The data can come from any source you like. https://www.b4x.com/basic4android/images/SS-2019-02-10_15.49.29.png Example of loading the data from a SQL database: B4XTable1.AddColumn....Initialize Dim rs As ResultSet = sql.ExecQuery("SELECT CustomerId, FirstName, LastName... the Data list with the data coming from the SQL db. Step #3: call B4XTable.SetData. B4A project... B4J Code Snippet [B4X] MiniORMUtils - SQL Query Builder - aeric    Mar 9, 2025   (21 reactions) Updates Version 2.00 is available https://www.b4x.com/android/forum/threads/b4x-miniormutils.166030/ MiniORMUtils Version: 1.17 This library can be use for creating db schema and performing CRUD operations. It is suitable for Web API Template or any database system. Currently it supports SQLite and MySQL (B4J). B4X project template Version: 1.06 https://www.b4x.com/android/forum/threads/b4x-project-template-miniorm.165499/ Examples: Initialization Dim MDB As MiniORM MDB.Initialize... B4A Tutorial [B4X] SQL with Wait For - Erel    May 15, 2017   (22 reactions)   tags: wait, Wait For, Resumable Sub, SQL Wait For progress web, SQL . The new standard way to insert data is: For i = 1 To 1000 sql.AddNonQueryToBatch("INSERT INTO table1 VALUES (?)", Array(Rnd(0, 100000))) Next Dim SenderFilter As Object = sql.ExecNonQueryBatch("SQL") Wait For (SenderFilter) SQL_NonQueryComplete (Success As Boolean) Log... will be caught by the correct Wait For call in all cases. - Note that SQL.ExecNonQueryBatch begins... therefore be issued synchronously with SQL.ExecQuery2. However if there is a slow query then you should... B4J Code Snippet [Project Template] jRDC2 Server (SQLite, MySQL, MS SQL, Firebird, Postgresql, DBF) - aeric    Feb 20, 2025   (16 reactions) Updates jRDC2 Server v2 is available jRDC2 Server Template Version: 1.12 (based on jRDC2 version 2.23) Create a new project and run it! To be accompanied with jRDC2 Client Template Introduction: To be edited 147014 Version 1.00 : 9KB Version 1.11 : 127KB Version 1.12 : 127KB Version 2.00 (beta) : 127KB Note: If you think the latest version is big, you can use version 1.00 otherwise yo... B4A Tutorial Connect Android to MS SQL Server Tutorial - Erel    Jun 27, 2016   (8 reactions) A new more powerful framework is now available: Remote Database Connector.
This tutorial is a follow up to the previous tutorial that explained how to connect to a MySQL database using a PHP web service. This time we will use an ASP.NET web service to connect to a Microsoft SQL Server.
Android... a "read-only" user will protect this attack.
In this tutorial I will post the ASP.NET script... B4A Example [B4XPages] jRDC2 + MySql CRUD + Login - josejad    Apr 24, 2022   (33 reactions) attached a sql file to import in your database. The database name will be B4X. - B4J to create the jRDC2... when this post have been write) Steps: - Import the sql file to you database. You can use phpMyAdmin, HeidiSQL, etc… - Configure jRDC2 server. Open the attached B4J file and change your user and... as md5) sql.Login = SELECT * FROM B4X.users WHERE `username` = ? AND `password` = md5(?) sql.getEvents = SELECT * FROM B4X.events WHERE `month` = ? AND `id_user` = ? sql.updateEvents = UPDATE... B4J Code Snippet [SQL] DButils v.2.5 for SQLite and MySQL - peacemaker    Oct 11, 2023   (4 reactions) classes), but MySQL also, due to big size that now is more convenient to see via web-browser... DButils2 from Erel: https://www.b4x.com/android/forum/threads/b4x-dbutils-2.81280 module with MySQL... to switch the db type (SQLite or MySQL) during usage: 'MySQL additions: 'Added to give EscapeField more flexibility Public Sub SetEscapeChars(MySQL As Boolean) If MySQL Then escapeCharStart = "`" escapeCharEnd = "`" isMySQL = True Else... Page: 1   2   3   4   5   6   7   |