动态建立Create column遇到的问题!

zhengyu17 2003-03-26 09:50:56
ls_modstring= "create column(band=detail id=1 alignment='0' " + &
" tabsequence=10 border='0' color='0' x='" + ls_x + &
"' y='4' height='56' width='320' format='[general]'" + &
" name=lx" + ls_gjlx + " edit.limit=0 edit.case=any " + &
" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes " + &
" font.face='宋体' font.height='-9' font.weight='400' " + &
" font.family='2' font.pitch='2' font.charset='134' " + &
" background.mode='1' background.color='536870912')"

这是我动态建立一个列的语句,我发现,在列的id里,我只能给它赋值id=1,否则dw_name.modify()后,会报语法错,但如果所建立的列id都一样,这样在setitem数据的时候,相同的id的值都会一样。
...全文
51 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
tchatcha 2003-04-03
  • 打赏
  • 举报
回复
up
hn小草 2003-04-03
  • 打赏
  • 举报
回复
我了遇到同类问题,大家快来帮忙解决了??

611

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder DataWindow
社区管理员
  • DataWindow社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧