当前位置: 代码迷 >> PB >> 关于 PB 中数据窗口的有关问题
  详细解决方案

关于 PB 中数据窗口的有关问题

热度:24   发布时间:2016-04-29 09:00:49.0
关于 PB 中数据窗口的问题?
从数据窗口中取datetime类型的列为什么什么也得不到,我拿messagebox做了很多次试验,凡是数据库里有值的都正常,没值的就出现问题,messagebox连弹都不弹,我本来想是不是null,用isnull()判断也不好用?到底是哪里出错了?
请各位高手们帮忙,我刚接触PB不久!

------解决方案--------------------
messagebox('',string(dw_1.getitemdate(1,"dddd")))
------解决方案--------------------
永生,你这兄弟抢答抢的也太快了。呵呵。
------解决方案--------------------
MessageBox ( title, text {, icon {, button {, default } } } )

Argument Description
title A string specifying the title of the message box, which appears in the box's title bar.
text The text you want to display in the message box. The text can be a numeric datatype, a string, or a boolean value.

这是从F1里复制出来的,读读这几句话就明白了。呵呵
  相关解决方案