hi, my question is this:
My query in the file
sql.select= SELECT * FROM table where name = 1 order by ? desc
in my app is this:
in particular my question is you can pass a parameter to the query to sort the same. (Order by? Desc) which I can then change to sort by X my sql query.
Ty.
My query in the file
sql.select= SELECT * FROM table where name = 1 order by ? desc
in my app is this:
B4X:
parametro = "Example"
Sub Operation
Dim cmd As DBCommand
cmd.Initialize
cmd.Name = "select"
cmd.Parameters = Array As Object(parametro)
reqManager.ExecuteQuery(cmd, 0, "select")
End Sub
in particular my question is you can pass a parameter to the query to sort the same. (Order by? Desc) which I can then change to sort by X my sql query.
Ty.