想判断一个smallmoney字段里面的值不为空的情况,应该怎样去写呢?
我是这样写的,出现了错误。
if not query1.fieldbyname('base_salaryse’).ascurrency=0 then
begin
....
end;
错误:operator not applicable to this oper
...全文
1015打赏收藏
query的字段查询:
想判断一个smallmoney字段里面的值不为空的情况,应该怎样去写呢? 我是这样写的,出现了错误。 if not query1.fieldbyname('base_salaryse’).ascurrency=0 then begin .... end; 错误:operator not applicable to this oper