以文本方式查看主题 - 蓝色快车PB俱乐部论坛 (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspindex.asp) -- PowerDesigner (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspbbs.asp?boardid=6) ---- pb方面的一个小难题 (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspdispbbs.asp?boardid=6&rootid=3502&id=3502) |
-- 作者:applegaoyang -- 发布时间:2005/12/20 19:39:08 -- pb方面的一个小难题 谁能帮个小忙!谢谢了! 在PB中怎样把一个表中的所有记录的值送给一个数组????? |
-- 作者:nanbo -- 发布时间:2006/1/17 7:58:43 -- 首先得到當前表的語法。 自己沒試過,但是相信可以。 string sql_str sql_str=datawindow.getsqlselect() declare dec_tem cursor for sql_str; open dec_tem; //other script close dec_tem; 還沒經測試,如果有朋友試過,請告訴我一聲。謝謝! |
-- 作者:nanbo -- 发布时间:2006/1/17 8:29:39 -- :::::補充::::: string sql_str sql_str=datawindow.getsqlselect() //這段必須經過字符段處理設置。 declare dec_tem cursor for sql_str; open dec_tem; //other script close dec_tem; |
"> |