91:对象变量或未设置块变量 [英] 91: Object variable or with block variable not set

查看:154
本文介绍了91:对象变量或未设置块变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用拆分数据库。在前端我使用以下代码:

I am using a split database. In the front end I am using the following code:

展开 | 选择 | Wrap | 行号

推荐答案

排序代码问题的标准方法: -

停止功能等级列表的第一行


然后逐行逐步,直到看到错误发生的位置。


Phil
Standard way of sorting code problems:-
Put a halt on the first line of your Function RankList

Then step through line by line till you see where the error occurs.

Phil


在您尝试使用它之前,您的代码似乎尚未编译。我已经失去了我提出这一点的次数。在你还没有编译的代码中寻求帮助是很疯狂的。
It looks like your code hasn''t been compiled before you tried to use it. I''ve lost count of the number of times I''ve made this point. It''s crazy to ask for help with code you haven''t even compiled yet.
  1. 编译(使用 Option Explicit set)。
  2. 测试和调试你可以管理的任何级别。
  3. 将代码复制/粘贴到你的帖子中。

那里无论如何,请求编译器告诉你所有关于代码的帮助真的很少。

There''s really very little point asking for help with code that the compiler tells you all about anyway.


只是为了加入火,你应该从这里开始:
home>主题> microsoft access / vba>见解>在vba中调试
just to add to the fire you should start here:
home > topics > microsoft access / vba > insights > debugging in vba


这篇关于91:对象变量或未设置块变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆