Bind and Into Variables
Function: Test
Local Variables
String: sName
Actions
Call SqlPrepareAndExecute(hSql, "select name from companies into :sName")
Call SqlFetchNext(hSql, nRet)
Call SalMessageBox(sName, "", 0)public SalNumber Test()
{
SqlLocals.Test locals = new SqlLocals.Test();
using (new SqlContext(this, locals))
{
hSql.PrepareAndExecute("select name from companies into :sName");
hSql.FetchNext(ref nRet);
Sal.MessageBox(locals.sName, "", 0);
}
}Last updated
Was this helpful?