Android Question Sqlite Problem

WofaCle

Member
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
 

Mahares

Expert
Licensed User
Longtime User
Please how do i fix it thank you
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
 
Upvote 1

WofaCle

Member
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
 
Upvote 0
Top