Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/string/5.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 FollowHyperLink运行时错误94_Ms Access_Ms Access 2007_Vba - Fatal编程技术网

Ms access FollowHyperLink运行时错误94

Ms access FollowHyperLink运行时错误94,ms-access,ms-access-2007,vba,Ms Access,Ms Access 2007,Vba,我有一个列表框,其中最后一个字段是文件的路径。它的数据类型是文本。我尝试使用以下方法打开路径: Private Sub DataView_DblClick(Cancel As Integer) FollowHyperlink DataView.Column(8, DataView.ListIndex) End Sub 我得到运行时错误94:Null的使用无效 我有这个密码 Private Sub List36_DblClick(Cancel As Integer) FollowHyperlin

我有一个列表框,其中最后一个字段是文件的路径。它的数据类型是文本。我尝试使用以下方法打开路径:

Private Sub DataView_DblClick(Cancel As Integer)
FollowHyperlink DataView.Column(8, DataView.ListIndex)
End Sub
我得到运行时错误94:Null的使用无效

我有这个密码

Private Sub List36_DblClick(Cancel As Integer)
FollowHyperlink List36.Column(1, List36.ListIndex)
End Sub 
以同样的形式,而且效果很好,这就是为什么我如此困惑的原因


我假设有一些简单的属性我必须改变,但我找不到它。任何帮助都很好。

计数从0开始,而不是从1开始。我正在编制越界索引

我将首先在生成错误的行上设置一个断点,并在有效和无效的情况下评估传递给FollowHypterlink方法的内容。我以前只是错误地使用了调试器。计数从0开始,而不是1。。。谢谢