Android Question MS SQL Execute scalar

Stephenz43

Member
Licensed User
Longtime User
Hello

I have a small app that reads data from a off site MS SQL 2008 Server. It works well. I would like to add a feature based on the following SQL statement :

Select sum(ototal) from testdb where id = 500

In vb.net i would use cmd.executescalar . I'm a little confused in B4A. Could someone help? Again, I have a valid connection thru the internet to a ms sql server and am reading data.
 
Top