Hi Friends
When I run my application in Debug, it runs perfectly. I populate numerous CLVs from SQLite Queries. Example:
When I run executable created by Build Standalone Package, it doesn't seem to run SQL queries as I see blank CLVs. Here are my Project Attributes:
I'm running Windows 11 and jdk-19.0.2.
run_debug log:

Please help...
When I run my application in Debug, it runs perfectly. I populate numerous CLVs from SQLite Queries. Example:
SQLite Query:
Public Sub Get_Shop_Info
Log("::::: Getting Shop Info")
clvDistrShops.Clear
Dim rs As ResultSet =Main.SQL.ExecQuery("SELECT * FROM DistrShop_Table")
Do While rs.NextRow
DistrShop_OwnerName = rs.GetString("Shop_Owner_Name")
DistrShop_OwnerSurname = rs.GetString("Shop_Owner_Surname")
DistrShop_OwnerIDNo = rs.GetString("Shop_Owner_ID")
DistrShop_OwnerTelephone = rs.GetString("Shop_Owner_Telephone")
DistrShop_Name = rs.GetString("Shop_Name")
DistrShop_RegNo = rs.GetString("Shop_Reg_Number")
DistrShop_Street = rs.GetString("Shop_Address_Street")
DistrShop_Location = rs.GetString("Shop_Address_Township")
DistrShop_Telephone = rs.GetString("Shop_Phone_No")
DistrShop_Area = rs.GetString("Shop_Area")
DistrShop_Section = rs.GetString("Shop_Section")
DistrShop_Status = rs.GetString("Shop_Status")
Log("DistrShop_OwnerIDNo = " & DistrShop_OwnerIDNo)
Log("DistrShop_Name = " & DistrShop_Name)
Log("DistrShop_RegNo = " & DistrShop_RegNo)
Log("DistrShop_Street = " & DistrShop_Street)
Log("DistrShop_Location = " & DistrShop_Location)
Log("DistrShop_Telephone = " & DistrShop_Telephone)
Log("DistrShop_Area = " & DistrShop_Area)
Log("DistrShop_Section = " & DistrShop_Section)
Log("DistrShop_Status = " & DistrShop_Status)
Log("_____________________")
'
Add_Shop_Info_to_CLV
Loop
rs.Close
End Sub
Add query result to CLV:
Public Sub Add_Shop_Info_to_CLV
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, Root.Width, 60dip)
p.LoadLayout("Layout_View_DistrShops")
lblDistrShop_Status .text = DistrShop_Status
lblDistrShop_Area .text = DistrShop_Area
lblDistrShop_Location .text = DistrShop_Location
lblDistrShop_Name .text = DistrShop_Name
' lblDistrShop_OwnerIDNoVIEW .text = DistrShop_OwnerIDNo
lblDistrShop_OwnerNameVIEW .text = DistrShop_OwnerName
lblDistrShop_OwnerSurnameVIEW .text = DistrShop_OwnerSurname
lblDistrShop_OwnerTelephoneVIEW .text = DistrShop_OwnerTelephone
lblDistrShop_RegNo .text = DistrShop_RegNo
lblDistrShop_Section .text = DistrShop_Section
' lblDistrShop_Street .text = DistrShop_Street
lblDistrShop_Telephone .text = DistrShop_Telephone
Dim prod_list As List
prod_list.Initialize
prod_list.AddAll(Array As String(DistrShop_Status, DistrShop_Area, DistrShop_Location, DistrShop_Name, DistrShop_OwnerIDNo, DistrShop_OwnerSurname, DistrShop_OwnerSurname, DistrShop_OwnerTelephone, DistrShop_RegNo, DistrShop_Section, DistrShop_Street, DistrShop_Telephone))
clvDistrShops.Add(p,prod_list)
End Sub
When I run executable created by Build Standalone Package, it doesn't seem to run SQL queries as I see blank CLVs. Here are my Project Attributes:
Region Project Attributes:
#MainFormWidth: 600
#MainFormHeight: 600
#AdditionalJar: sqlite-jdbc-3.7.2
#AdditionalJar: mysql-connector-java-5.1.47-bin.jar
#PackagerProperty: IncludedModules = javafx.controls
#PackagerProperty: IncludedModules = java.sql
I'm running Windows 11 and jdk-19.0.2.
run_debug log:

Please help...