dim a as int=Starter.SQL1.ExecQuerySingleResult("select count(*) from products")
Starter.SQL1.ExecQuery2("select * from products where id=? and status=?",Array as String(1,0))
I want to call it with callsub:
B4X:
Dim a As Int=CallSub2("starter","SQL1.ExecQuerySingleResult","select count(*) from products")
CallSubDelayed3("starter","SQL1.ExecQuery2","select * from products where id=? and status=?",Array as String(1,0))