在delphi中 if qy1.FieldByName('sh').curValue is null then
提示错误,请问在delphi中该如何判断是否为null值?
提示错误,请问在delphi中该如何判断是否为null值?
解决方案 »
- 下面这个SQL语句怎么写
- 简单的SQL问题,我不懂ADO,懂的进来看看就知道了!解决就结,来者有分
- 钱不多,但望帮助!请教关于计算乘法、除法
- 使用ado连接sql server 2k ,具体该怎么操作?还请高手指点?
- 在线:如何在展开treeview节点时刷新所有字节点的内容?
- 图像处理问题,请帮忙
- 应用服务器(Com组件)中的函数怎样从将返回值返回到客户端?
- 用Corba做的分布式系统怎样分发?
- 哎,谁叫我没钱呢,划算吗?
- 窗体caption自绘失败,怎么搞
- 重新安装系统后,编译以前的工程,提示File not found:Excel_TLB.DCU
- 请教已知RGB数值快速获得指定调色板中与之最接近的颜色的索引值
1. if assigned(qy1.FieldByName('sh').curValue) then2. if qy1.FieldByName('sh').curValue = nil then
if (qy1.FieldByName('sh').curValue<>qy1.FieldByName('sh').NewValue) or (assigned(qy1.FieldByName('sh').curValue)) then提示incompatible types
...
qy1.FieldByName('sh').newvalue=Null
谢谢大家。
if VarIsNull(qy1.FieldByName('sh').curValue) then
if qy1.FieldByName('sh').IsNull then