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