设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: Dannyclock
打印 上一主题 下一主题

查询NULL

[复制链接]
11#
发表于 2017-7-14 10:30:44 | 只看该作者
Dannyclock 发表于 2017-7-14 10:11
好,已经上传了,谢谢,就在Data Query裡面有一个栏位"ORDER TYPE".因为资料是从另外一个系统拿出来的,所以 ...
  1. SELECT Data.[File number], Data.Subdepartment, Mid([Subdepartment],4,2) AS Code, Data.[B/L type], Data.Sector, Data.Mode, IIf(Len(Trim([Order type]))=0,"NIL",[Order type]) AS OrderType, Data.[Chargeable Weight], Data.Volume, Data.Weight, Data.TEUs, Data.[Responsible Employee Name], Data.[Balance in National Currency], Data.[Accrued expenses in National Currency], Data.[Accrued revenue in National Currency], Data.[Expense in National Currency], Data.[Revenue in National Currency]
  2. FROM Data;
复制代码

评分

参与人数 1经验 +8 收起 理由
tmtony + 8 (其它)优秀回复

查看全部评分

12#
发表于 2017-7-14 10:31:22 | 只看该作者
  1. IIf(Len(Trim([Order type]))=0,"NIL",[Order type]) AS OrderType
复制代码

点击这里给我发消息

13#
 楼主| 发表于 2017-7-17 10:56:11 | 只看该作者
谢谢大家帮忙
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-4-29 19:47 , Processed in 0.108932 second(s), 26 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表