string ls_contr_code
DataWindowChild mgr_id
long li_count,li_i
ls_contr_code=message.stringparm
dw_1.settransobject(sqlca)
dw_1.retrieve(ls_contr_code)
//不夠行數插入空行
dw_1.GetChild ("dw_1", mgr_id)
mgr_id.settransobject(sqlca)
li_count=mgr_id.retrieve(ls_contr_code)
if li_count<10 then
for li_i=1 to 10 - mod(li_count,10)
mgr_id.insertrow(0)
next
end if
pb複合表如何製作不夠一定行數插入空行
最新推荐文章于 2024-12-09 16:30:31 发布
本文介绍了一种使用DataWindow组件进行数据检索及格式调整的方法。通过设置SQL连接并利用字符串参数进行数据检索,确保即使数据不足也能够通过插入空行来维持固定的数据格式。此过程包括初始化数据窗口、执行检索以及条件判断下的空行插入。
1706

被折叠的 条评论
为什么被折叠?



