有关数据窗口内容显示的问题

swazyl 2003-08-27 02:51:20
select newph,jh,place,gx from bb_place where newph in (select newph from bb_roll where scrq is null) and jh in(select jh from bb_roll where scrq is null ),我怎么把上面过滤出来的数据在数据窗口中显示出来
...全文
46 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
eastpond 2003-08-27
  • 打赏
  • 举报
回复
你先做一个数据窗口,选quick select 然后,随便先一个表,接着点disign菜单的convert to syntax,把你上面的语句帖上去就可以了
bluerain1980 2003-08-27
  • 打赏
  • 举报
回复
可以 dwcontrol.SetSQLSelect ( string statement ),statement是你的sql语句
或你可以使用多表连接直接在数据的画板中选择,你需要把你的sql语句转换一下
workhand 2003-08-27
  • 打赏
  • 举报
回复
new一个数据窗口,选sql select的,随便选个表,选个字段,然后点Sql进到语法界面,把你的语句拷到里就行了
swazyl 2003-08-27
  • 打赏
  • 举报
回复
怎么做呀
eastpond 2003-08-27
  • 打赏
  • 举报
回复
up
handi 2003-08-27
  • 打赏
  • 举报
回复
直接用这个SQL做个DW不久可以了?

611

社区成员

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

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