# 谁来帮帮忙，谢谢！

Posted by jojo on March 13, 1999 at 01:32:16:

请问我的程式这样写有问题吗？为何程式跑到最后就停了？

gsSqlDesc = ""
If strOpType = "ADD" Then
gsSqlDesc = gsSqlDesc + "Insert into TBL_Back Values ( '"
gsSqlDesc = gsSqlDesc + txtLoad + "','" + txtNum + "','" + txtArch + "','"
gsSqlDesc = gsSqlDesc + Date8to10(txtDate) + "'," + txtPe + ",'" + txtNam + "','"
gsSqlDesc = gsSqlDesc + txtPlac + "')"
End If
If strOpType = "UPT" Then
gsSqlDesc = gsSqlDesc + "UPDATE TBL_Back SET Num='" + txtNum + "'"
gsSqlDesc = gsSqlDesc + " WHERE Load= '" + txtLoad + "' AND Arch= '" + txtArch
gsSqlDesc = gsSqlDesc + "' AND DATE= '" + Date8to10(txtDate) + "' AND Pe='"
gsSqlDesc = gsSqlDesc + txtPe + "' AND Plac=" + txtPlac
End If
GblDB.Execute (gsSqlDesc)-----------停在这里

Follow Ups:

- Re: 谁来帮帮忙，谢谢！ Tryit 15:56:31 3/15/99 (0)