16787.html
来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 23 行
HTML
23 行
<html>
<head>
<title>Re: A little problem. How to test the field is "Null"</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: A little problem. How to test the field is "Null"</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:arthur.hsu@iname.com">Arthur</a> on August 06, 1999 at 16:59:27:<p>
In Reply to: <a href="16781.html">A little problem. How to test the field is "Null"</a> posted by Fai on August 06, 1999 at 16:03:45:<p>
: I would like to use this command to display the Model No as follows:<br>: lblModel.Caption = IIf(Rs!Model = Null, "N/A", Rs!Model)<br>: However it return the false part and have the message "Invalid Use of Null".<br>: Now, how to test the field contain Null<br>: Thank you very much<p>改用 IsNull() 函式来判断 Unll 值
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 16787-->
</ul><!--end: 16787-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?