Z
zhwwlp
Unregistered / Unconfirmed
GUEST, unregistred user!
Select("select orgid,custid,trdpwd from run..customer order by orgid,custid");
while(MoveNext())
{
nCustid=0;
nFundid=0;
memset(sOrgid, 0x00, sizeof(sOrgid));
memset(sCustid, 0x00, sizeof(sCustid));
memset(sEnTrdPwd, 0x00, sizeof(sEnTrdPwd));
memset(sDeTrdPwd, 0x00, sizeof(sDeTrdPwd));
GetColData("orgid", sOrgid, sizeof(sOrgid));
GetColData("custid", nCustid);
Insert("insert into run..cust_encrypwd (orgid, custid, trdpwd ) "
"values('%s',%d,'%s')", sOrgid, nCustid, sDeTrdPwd);
}
我在movenext循环中加了对其它表操作语句时,movenext循环找到第一条记录就跳出了,可我把代码中的insert语句注释掉时,movenext循环正常,请各位高手指点下小弟啊
while(MoveNext())
{
nCustid=0;
nFundid=0;
memset(sOrgid, 0x00, sizeof(sOrgid));
memset(sCustid, 0x00, sizeof(sCustid));
memset(sEnTrdPwd, 0x00, sizeof(sEnTrdPwd));
memset(sDeTrdPwd, 0x00, sizeof(sDeTrdPwd));
GetColData("orgid", sOrgid, sizeof(sOrgid));
GetColData("custid", nCustid);
Insert("insert into run..cust_encrypwd (orgid, custid, trdpwd ) "
"values('%s',%d,'%s')", sOrgid, nCustid, sDeTrdPwd);
}
我在movenext循环中加了对其它表操作语句时,movenext循环找到第一条记录就跳出了,可我把代码中的insert语句注释掉时,movenext循环正常,请各位高手指点下小弟啊