我做了什么? [英] What Did I Do?

查看:68
本文介绍了我做了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道我是怎么做到这一点的,但不知怎的,我的表单和代码反应不同。

1)关闭所有表单,如果我更改VBA代码,表单的模块是谁在设计视图中打开已更改。

2)无法在VBA代码中打开设计视图中的表单

3)在普通视图中无法使用表单更改VBA代码

4)当踩代码时,我不断得到消息2499你不能在设计视图中对对象使用GoToRecord动作或方法。我不是想。窗口在普通视图中,我正在与它进行交互。


我确定有一些复选标记我改变了。它是什么/在哪里?

I have no idea how I did this, but somehow my forms and code respond differently.
1) With all forms closed, if I change VBA code, the form who''s module is changed opens in design view.
2) Forms in design view cannot be opened from within VBA code
3) VBA code cannot be changed with form in Normal view
4) When stepping code, I continually get message "2499 You can''t use the GoToRecord action or method on an object in Design view." I not trying to. The window is in Normal view, and I am interacting with it.

I''m sure there is some checkmark that I changed. What/where is it?

推荐答案

尝试将mdb导入新的空白数据库。
Try importing your mdb into a new blank db.


我同意Allan''我认为这必须是一个腐败问题,并希望将所有内容导入新数据库将解决它,因为它经常这样做。我不能想到任何你可以改变的设置会解释这样的行为。


我知道你会讨厌这个问题,但如果你不得不回到之前备份的版本,你会失去什么样的开发时间?


Linq ; 0)>
I agree with Allan''s thinking that this has to be a corruption issue, and hopefully importing everything into a new database will resolve it, as it frequently does.I can''t think of any setting you could have changed that would account for behavior such as this.

I know you''re going to hate this question, but what kind of development time have you lost if you have to go back to a previous, backed up version?

Linq ;0)>


这不是腐败问题,至少不是数据库问题。也许Access是腐败的。在我输入时,我正在对我的计算机进行完整的VirusScan。


1)此问题也出现在新数据库中。我创建一个空白数据库,创建一个表单,只需一个按钮。 OnClick是一行,Msgboxxxxx。保存&从设计视图关闭窗体。现在可见的是Access窗口,其中Database窗格可见,未最大化,VBA窗口包含Form1的模块(最大化窗格)和5行代码
This is not a corruption issue, at least not of the database. Maybe Access is corrupt. As I type, I''m doing a complete VirusScan of my computers.

1) This problem occurs on a new database also. I create a blank database, create one form, with one button. OnClick is one line, Msgbox "xxxx". Save & Close form from design view. Visible now are Access window with Database pane visible, not maximized, and VBA window with module (maximized pane) for Form1 and 5 lines of code
展开 | 选择 | 换行 | 行号


这篇关于我做了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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