sql

  1. N

    Android Question b4a and sql concting problem

    Hi strugle with a problem that it's really dirve me crazy? my app made of layout with a Listview I made a sql declare ir intialize it but when I run program it give me some eror I've been working on it for 10 days and 8 hrs per day but I couldnt solve it becuse im not programer please guide me...
  2. DarkoT

    Wish Sql/ResultSet

    I think that will be very useful when I can get number of records in ResultSet. When I want to show user how the process running and how long will take for all updates in database, I need first to calculate number of all records (select count(*) from MyTable where ...) and after this I can show...
  3. J

    Android Question B4XPages & SQL & TTS

    I will be remaking my old B4A app with multiple Activities. I used SQL and TTS here. Now I want to use B4XPages. 1. I used SQL.Initialize... in B4XPage_Created in B4XMainPage file. Where is the best place to put SQL.Close? 2. I will use TTS.Speak on some pages. Where is the best place to place...
  4. fernando1987

    Share My Creation TODO-LIST

    Hello, I share my application to create task lists. If you want to try it, you can download it from here. The source code is also for sale at the following link: https://b4xapp.com/item/todolist-source-code- features: sqlite database Notification when a task is due or overdue Beautiful UI...
  5. J

    B4J Question [B4X] jRDC2 - Issues with sql command not found

    Hello I'm experimenting with the jRDC2 tool, but at this point, I'm receiving a weird issue. I created a sql query, just like in this tutorial, but for some queries I receive the message that the command could not be found out of the config.properties file. jRDC2 server: #SQL COMMANDS #...
  6. Guenter Becker

    Android Question SQLite & SQLCipher Error Trapping

    Hello, hope you are all fine. Today my question to the professionals is concerning the use of SQL or SQLCIPHER Library. If we do any sql action via the library like an insert a.s.o. it might be possible to fall into an error situation because for example we are going to insert a record with a...
  7. Guenter Becker

    B4A Library TDDBUtils Functions to handle SQLite and SQLCipher

    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...
  8. I

    iOS Question Accessing a database residing on a Local Network Pi Server

    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...
  9. P

    German SQL - Update autoincrement-Feld

    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...
  10. G

    Android Question Mylocation example pauses

    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...
  11. Guenter Becker

    Android Question Can not copy/open database?

    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...
  12. B

    German Daten an SQL Server

    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...
  13. R

    Share My Creation Remote SQL Server Interface

    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...
  14. Col

    Android Question SQL Builder - is a Library needed?

    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...
  15. R

    Android Question How to replace SQLite database after installation?

    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...
  16. behnam_tr

    B4J Question [Solved] SqlLite , How Select data per month ??

    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 $ ...
  17. S

    B4J Question ABMaterial - cannot get logged into the database

    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...
  18. J

    B4J Question Question about parameterizing queries

    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...
  19. Guenter Becker

    Android Question SQLite Crypto

    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...
  20. S

    B4J Library Build parametized SQL queries for Insert,Update and Delete

    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...
Top