2013-05-14 123 views
1

我的窗体在设计中显示,但不是窗体视图。有700多条记录。窗体在设计视图中可见,但在窗体视图中为空

Design View - >Data,该Record Source是:

SELECT act.* FROM act; 

此查询显示在查询视图中的所有记录。

没有过滤器,并且Allow Form View设置为是。

什么导致我的表单不显示?

编辑:我注意到窗体非常宽。没有宽度设置,但在最大化窗口的设计视图中,我必须滚动才能看到正确的边缘。这与它有什么关系?

回答

0

Auto_title_0设置为21" 宽,调整功能,以实际形式宽度解决了这个问题。

3

此链接可能会帮助你的。我记得有这个问题,这是因为只读的查询。

Why does my form go completely blank?

下面是摘录列出,为什么这可能发生的主要条件:

Condition (a) can be triggered in several ways. Examples: 

- The form's Data Entry property is set to Yes. (This means the form shows no existing records, i.e. it is for entering new ones only.) 
- The form has a Filter applied (or is opened with a WhereCondition) that yields no records. 
- The form is based on a query where the criteria yield no records. 
- The form is based on a table that has no records. 

Condition (b) can be also be triggered by several things: 
- The form's Allow Additions property is set to No. 
- The form's Recordset Type property is set to something other than Dynaset. 
- The form is based on a read-only query. (If you cannot add a record directly to your query, see Why is my query read-only?) 
+1

我刚刚注意到你找到了你的问题的答案,但会留下我的答案供将来参考。 – ApplePie 2013-05-14 17:00:44

0

在窗体CL的设计视图在标尺下方的“详细信息”上,确保在属性页上将可见性设置为是。