表单在设计视图中可见,但在表单视图中为空白

a c*_*der 5 forms ms-access-2007

我的表单显示在设计中,但没有显示在表单视图中。有 700 多条记录。

Design View-> 中DataRecord Source是:

SELECT act.* FROM act;
Run Code Online (Sandbox Code Playgroud)

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

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

是什么导致我的表格不显示?

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

App*_*Pie 5

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

为什么我的表格完全空白?

这是一个摘录,列出了为什么会发生这种情况的主要条件:

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?)
Run Code Online (Sandbox Code Playgroud)

  • 我刚刚注意到您找到了问题的答案,但会留下我的答案以供将来参考。 (2认同)

a c*_*der 1

Auto_title_0 设置为 21" 宽。将其调整为实际表单宽度解决了问题。