一个PB的问题

wdslhr 2004-09-14 07:03:58
datastore ld_DataStore_Order

ld_DataStore_Order = CREATE DataStore
ld_DataStore_Order.DataObject = "dw_order"


ll_RowCount = dw_1.RowCount()
ll_OrderId = ld_DataStore_Order.GetItemNumber(ll_RowCount,'order_id')//line 14


出现一错:Ivalid DataWindow row/column specified at line 14 in clicked event of object cb_1 of w_add


请问我是怎么错的?
...全文
179 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lixueyan222 2004-12-21
  • 打赏
  • 举报
回复
dw_1.setobjecttran(sql)
dw_1.retrieve()
zhangjiecsdn 2004-12-01
  • 打赏
  • 举报
回复
dw_1为何物?
ll_RowCount为dw_1的总行数;而使用ld_DataStore_Order.GetItemNumber(ll_RowCount
当然ll_RowCount可能
ll_RowCount = 0 或者 ll_RowCount 〉ld_DataStore_Order.RowCount()了;
如果dw_order不包含order_id列,也可能error...
with_answer 2004-10-20
  • 打赏
  • 举报
回复
不知道你还看得到回答吗?
datastore先recieve一下,否则dw_1.RowCount()无效

3,422

社区成员

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

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