Dear Expert..
I don't know if I post this question in the VFP forum or the SQl Server forum.
because I use vfp 8 with Sql Database back end, so I asked in this forum...
I have code like this below:
and I got an error message namely, "The conversion of the varchar value '1111224080294' overflowed an int column".
Is there something wrong with the coding or the wrong datatype in my SQL Server database?
As for the SQL Server database (dbo.jaminan) consisting of many columns, I updated the "norekening" column with a decimal datatype, maximum length 9.
Here I ask for advice and how to solve my problem.
I don't know if I post this question in the VFP forum or the SQl Server forum.
because I use vfp 8 with Sql Database back end, so I asked in this forum...
I have code like this below:
Code:
local lcValue, lcValue1
lcValue = thisform.text1.value && No Pengajuan
lcValue1 = trim(thisform.text3.value) && No. Rekening
TEXT TO m.lcSQL TEXTMERGE noshow
UPDATE dbo.jaminan
SET norekening = ?m.lcValue1
WHERE trxid = ?m.lcValue1
ENDTEXT
lnResult = SQLExec(Thisform.nHandle, m.lcSQL)
If m.lnResult < 0
Aerror(aWhy)
Messagebox(aWhy[2])
SQLDisconnect(0)
Return .F.
Else
messagebox("Data Has Been Updated..!!")
endif
and I got an error message namely, "The conversion of the varchar value '1111224080294' overflowed an int column".
Is there something wrong with the coding or the wrong datatype in my SQL Server database?
As for the SQL Server database (dbo.jaminan) consisting of many columns, I updated the "norekening" column with a decimal datatype, maximum length 9.
Here I ask for advice and how to solve my problem.