B4X:
Sub updateIt
'update record
Dim newNum As String = lblScript.Text
Dim strUpdateName As String = sp1.SelectedItem
Dim strMedUpdateName As String = lblmedname.text
sqlText = "UPDATE data SET script = '" & newNum & "'"
sqlText = sqlText & " WHERE name = '" & strUpdateName "'"
sqlText = sqlText & " AND med = '" & strMedUpdateName & "'"
SQL1.BeginTransaction
SQL1.ExecNonQuery(sqlText)
SQL1.EndTransaction
pnlAdd.Visible = False
pnlEdit.Visible = False
pnlMed.Visible = True
SelectItAll
End Sub
Only seems to be since android 4.4 update (Sony xperia ultra 2). Any clues...
Last edited: