注册 登录
编程论坛 PowerBuilder

2个乱乱的问题 谢谢

gonggou123 发布于 2007-04-18 13:55, 1090 次点击

我有几个问题问大家 由于鄙人接触PB不久才一个月 所以很多基础都不了解
问问 EXEC SQL 我能得到他的返回值吗
string LS_x
ls_x='select count(1) from t_user where username=values'
注意 是EXEC IMM (ls_X)
我能得到这个COUNT(1)的值吗?

还有 我想MODIFY一个列的EDIT。STYLE
DW.MODIFY('COLUMN.EDIT.STYLE=EDITMASK')
怎么修改都不能啊 有人能帮我吗 谢谢

3 回复
#2
rzj762007-04-18 21:56
int li_x
select count(1) into :li_x from t_user where username=values'
#3
gonggou1232007-04-18 22:18
谢谢 但是你没看懂我的意思啊 我不是直接
select count(1) into : li_x from t_user where username='values'
而是execute immeciate :select count(1) from t_user where username='values';
我能得到这个COUNT(1)吗
#4
路過2007-04-26 09:14

應該不行,你自已可以試一下的

1