sqlite

  1. Mariano Ismael Castro

    B4J Question Error using <strftime> in SQLite with B4J

    Hi, I'm trying to display a time that is in 24 hour format to a 12 hour format. To do this conversion I'm trying to use SQLite's <strftime> but I can't get it to work in B4J. There is no error, the query simply returns <null>. It's worth mentioning that if I test the query in other programs to...
  2. xiaoyao

    Android Question B4A What is the most convenient way to save APP settings?

    B4A What is the most convenient way to save APP settings? Is it similar to the Windows INI file or using SQLITE? For a very small amount of data, does it take up too much memory to use a database? If reading or writing is closed immediately, will the APP increase the memory? Asked CHATGPT AI, he...
  3. E

    Share My Creation Mi primera app b4j - lectura de bascula por puerto serial

    Mi primera app en b4j, compilada con el empaquetador interno y funciono!. solo que queda muy grande y no lo pude subir Es una aplicación sencilla. pero me dejá gran satisfacción. Todo realizado con la ayuda de los comentarios y foros. Obviamente a la documentación de ERel. La aplicacion...
  4. P

    Database field selector tool using SQLite and MySQL with drag and drop feature

    Check out the second spoiler. It's another example of the possible integration of this application. This small application might be a great help in creating reports and SQL statements. In the first tab you can select a SQLite database file and get all the tables in that database. In the...
  5. Guenter Becker

    Android Question SQLITE/SQLCipher

    Good Morning to you, as I understood the database itself and the Resultset are two independent Objects. INSERT/UPDATE DELETE will change the Database Data but the Resultset Data is not synchronized and is not effected by those actions. To solve this I save the SELECT statement and after doing...
  6. W

    Share My Creation wmSQLtableSync - SQL table synchronisation between two databases [Class] [Source included] [B4A] [B4J]

    Why/What? A CloudKVS didn't cover my needs so I developed this class. Features: - It synchronises a table between two SQL instances; one is called the Client, the other the Server - All columns that exist in the Server table must be present in the Client table - Additional columns that exist in...
  7. R

    Anagram solving by Regex or SQL

    Here is a brainteaser for any B4X insommiacs out there..... I have a language database in SQLite with around 30k words. Given a string comprising 4 to 12 characters, is it possible to devise an SQL query that extracts all matching words for every possible permutation of those exact characters...
  8. YongTheBeginner

    Android Question SQLite Connection Error

    Good day. I am new to B4A and I want to create an application with SQLite database. I set up the DB Browser properly and added the sql file to the file manager in b4a. But the problem is I always encounter this error "android.database.sqlite.SQLiteException: no such table: user_table (code 1...
  9. Alexander Stolte

    Share My Creation ToDo App - Full working App B4A/B4I [Source for sale]

    This is a fully functional ToDo app for Android and IOS (B4A and B4I) With this B4X project I show how to develop a modern and good looking cross-platform app with B4X. Features SQLite Database structure Task due notifications Dark and Light Mode Switch on the fly, without app restart...
  10. W

    Share My Creation wmCRUD - a generic class for CRUD operations on an SQL(ite) database (with source code) [B4J] [SQL] [SQLite] [CRUD] [Class]

    Abstract Another one in my 'I don't like doing repetitive stuff' repertoire. The rationale for this one is to avoid having to code the 'boring stuff', i.e. CRUD for data tables (usually slightly or completely different than others from other programs) in a new program, again and again. The idea...
  11. W

    Share My Creation MakeBxL - create a layout file from text or from an SQLite table (B4X) (Tool) (Source included)

    I wanted a quick way to generate a layout file (add the views and their names and events) to then fine-tune it with the Designer - MakeBxL does that, either from - a list of names (for the views) that you add in its TextArea, or - from an SQLite database table Some additional options are...
  12. Duque

    Spanish Practicas para subir copias de seguridad

    Las experiencias que me puedan contar son bienvenidas, los pongo en contexto: Tengo una base de datos SQLite la cual contiene datos valiosos para el usuario, eh probado las siguientes formas de hacerle una copia de seguridad: Forma1 Subirla al Google Drive del usuario(Funciona perfectamente...
  13. behnam_tr

    B4J Question [Solved] SQLite Autoincrement Problem

    hi guys, I have a database table that has a field called ID and the field is autoincrement. Suppose it has 5 records whose IDs are from 1 to 5 respectively Now I insert a record manually with ID 10 Next time when inserting a new record, it will automatically insert the number 11 I want to...
  14. Lucas Siqueira

    Android Question select limit 1 in error

    #Region Shared Files #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files" 'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True #End Region 'Ctrl + click to export as zip...
  15. Mashiane

    B4J Tutorial [Web] PocketBase - deploying your SQLite WebServer back-end on Railway.app

    Hi One is able to host Pocketbase on Railway.app. This deployment is based on Docker Image. You need a GitHub account. 1. Create an account on Railway.app and link to your Github. 2. Click this link to publish a PocketBase instance on port 8090 there...
  16. Rodolfo Descamps

    Share My Creation Project Runner. Integrated Development Environment for apps that use sqlite database.

    Project Runner is a non-code tool for developing Android apps using SQLite. This tool can work without an Internet connection. This application provides an intuitive user interface for creating and updating SQLite databases, adding and editing tables, defining and managing relationships between...
  17. S

    B4J Question When using variable with sqlite, error unrecognized token: ":"

    Hi, Can't figure out why this works: Dim RS3 As ResultSet = Main.SQL2.ExecQuery("SELECT Fullpath, Filename, Size, Date, Time FROM DblFiles WHERE Fullpath = 'C:\temp\{C}\'") But this does not, while the variable beholds the same string: Dim RS3 As ResultSet = Main.SQL2.ExecQuery("SELECT...
  18. F

    Android Question Export SQLite

    I have an application with a SQLite database. How can I make it export table to CSV, JSON, or any other format, and upload it to FTP or send it via email? In principle, these will be very small tables, with a maximum of 2 keys, 10 fields, and at most a few thousand records. Later I am also...
  19. F

    Android Question SQLite & MySQL Connection

    Hello, today is my 3rd day using this wonderful tool, and I would like to create a simple program, for example, an Product Inventory. Let me explain: The program should have the capability to establish a connection via jrdc2 to a server, enabling the seamless transfer and creation of a table...
  20. J

    Android Question Update SQLite Version

    Hi, I want to ask. I run query on SQLite SELECT sqlite_version() and it return 3.22.0. I want to update the SQLite to 3.25.2 (at least, latest if possible) because I want to use Row Number feature that was released on that version. Is there any way to update?
Top