求助各位大侠
int UserCount
string User,PassWord
User=sle_user.text
PassWord=sle_pwd.text
select count(*)
into :UserCount
from xt.hd_sys_user
where User_Name=User
using sqlca;
st_test.text=string(UserCount)
if UserCount=0 then
MessageBox("提示","无此用户!")
end if
数据连接一切正常
但是无论用户名输什么
count都是0
为什么
[解决办法]
select count(*) into :UserCountfrom xt.hd_sys_user where User_Name=[color=#FF0000]:User[/color]using sqlca;