Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ms-access/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ms access 神秘有从句_Ms Access - Fatal编程技术网

Ms access 神秘有从句

Ms access 神秘有从句,ms-access,Ms Access,有人能解释一下Access数据库中的HAVING子句吗?使用所有“0”进行格式化时如何返回空格字符串 HAVING Format([PerNr],'0000000') <> ' ' 具有格式([PerNr],'0000000')” 如果字段值设置为空格,则可能 VBA: Dim x As String x = " " MsgBox "x = " & Format(x, "0000000") & " : Len(x) = " & Len

有人能解释一下Access数据库中的HAVING子句吗?使用所有“0”进行格式化时如何返回空格字符串

HAVING Format([PerNr],'0000000') <> '       '
具有格式([PerNr],'0000000')”

如果字段值设置为空格,则可能

VBA:

Dim x As String
x = "       "
MsgBox "x = " & Format(x, "0000000") & " : Len(x) = " & Len(Format(x, "0000000"))