以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  移动开发 table未选择记录时的主键传值问题  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=125259)

--  作者:rogen
--  发布时间:2018/9/24 21:47:00
--  移动开发 table未选择记录时的主键传值问题
移动开发,table未选择记录时,点了“显示详情”按钮,想查看当前记录的详情
但会报错,因为没有选记录,没法传主键值
请问如何避免这个问题?

在pc端开发时,是这么解决的:
dim r as row = tables("表A").current
if r is nothing then 
msgbox("请选择记录!")
return
end if

--  作者:有点甜
--  发布时间:2018/9/25 9:14:00
--  

看看

 

http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=104740&authorid=0&page=0&star=1