Android Question How to pass parameter to update table

Makumbi

Well-Known Member
Licensed User
Please help on how to pass these controls to my table
B4X:
Codeolda.Text = "" Or Codenewn.Text = "" Or Oldn.Text = "" Or Newnumber.Text = ""
my table to be updated is below
Update Androidregistration set Phone=@newnumber,codes=@codenew WHERE Phone = @oldnumber and codes=@codeold"
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
I have checked but it has one parameter passed it doesnot have multiple parameters.

This is a code from the example from the tutorial.

B4X:
    sql.ExecNonQuery2("UPDATE students SET image = ? WHERE id = ?", Array(b, 10))
 
Last edited:
Upvote 0
Top