Hi good day comrades please i added DButils.bas to my project and when i run it i get error message (Linking resources) so i saw this (Sub ExecuteSpinner is not Used..... Please how do i fix it thank you
Sub executeSpinner:
if B4A
'Executes the query and fills the Spinner with the values in the first column
Sub ExecuteSpinner(SQL As SQL, Query As String, StringArgs() As String, Limit As Int, Spinner1 As Spinner)
Spinner1.Clear
Dim Table As List
Table = ExecuteMemoryTable(SQL, Query, StringArgs, Limit)
Dim Cols() As String
For i = 0 To Table.Size - 1
Cols = Table.Get(i)
Spinner1.Add(Cols(0))
Next
End Sub
Try this:
Remove the DBUtils.bas module and download the DBUtils.b4xlib to your B4X additinal library folder. Here is a link to download it: If you already have it , then put a check mark in the library pane to select it. it is version 2.11
DBUtils is a b4xlib with useful utilities related to the SQL library. It is designed to work with SQLite databases. There have been three versions of DBUtils, one for each platform (except of B4R). DBUtils v2.0 merges the three modules to a single module that is compatible with B4A, B4i and...
First of all sorry for late response.....thank you for helping but please i copied the DButils.b4xlib to the folder but i can't seem to find it my hidden files to is turn on