I have a sql server table as below,
And I gave my foxpro code like this,
Now I want to convert my cParaNo Into numeric using VAL FUNCTION.
How can I do this.
I tried this but it is not success.
How can I do this.
Code:
nParaID cParaNo cParaYear cParaCD
218 1 2020 vtmc
And I gave my foxpro code like this,
Code:
stra="select nParaID, cParaNo, cParaYear, cParaCD from MIS.dbo.wshPara WHERE cParaCD=?thisform.cboFactory.value+'c'"
SQLEXEC(hndOps,stra,'wshPara')
Now I want to convert my cParaNo Into numeric using VAL FUNCTION.
How can I do this.
Code:
stra="select nParaID, VAL(cParaNo) + 1), cParaYear, cParaCD from MIS.dbo.wshPara WHERE cParaCD=?thisform.cboFactory.value+'c'"
SQLEXEC(hndOps,stra,'wshPara')
I tried this but it is not success.
How can I do this.