Here is my code
I get this error
B4A Version: 7.30
Parsing code. (0.09s)
Compiling code. Error
Error compiling program.
Error description: Too many parameters.
Error occurred on line: 83
clvFareType.AddTextItem(cur.GetString("Desc"), cur.GetString("Desc"), True)
Word: _c
I have added a isBold parameter before to the customlistview and all was working
Any ideas?
B4X:
Private clvFareType As CustomListView
B4X:
s = "Select Desc From FareTypes Order By Desc"
Try
Dim cur As Cursor = Starter.sql.ExecQuery(s)
If cur.RowCount>0 Then
For i=0 To cur.RowCount-1
cur.Position=i
lft.Add(cur.GetString("Desc"))
clvFareType.AddTextItem(cur.GetString("Desc"), cur.GetString("Desc"), True)
Next
End If
cur.Close
Catch
Msgbox("FareEdit.Activity_Create - " & LastException,"Error")
End Try
I get this error
B4A Version: 7.30
Parsing code. (0.09s)
Compiling code. Error
Error compiling program.
Error description: Too many parameters.
Error occurred on line: 83
clvFareType.AddTextItem(cur.GetString("Desc"), cur.GetString("Desc"), True)
Word: _c
I have added a isBold parameter before to the customlistview and all was working
Any ideas?