显示隐藏记录选择器 [英] Show Hide record selectors

查看:114
本文介绍了显示隐藏记录选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现按日期顺序对连续子表单进行排序很有用,最新日期在顶部,而第一条记录上方的空白新记录行按照此图示。



基本上它由标准的连续形式组成,但在主窗体中的细节上方的标题中具有相同格式的子窗体。


一切正常完美,但是在新记录中看到记录选择器会很好,而不是在连续子表单中。


如果我在子表单中显示记录选择器,则对齐出错。


这不是一个真正的问题,只是美学。


Phil

解决方案

您是否尝试过:

设计视图

显示属性表>格式

功能区>表单设计工具>安排


这里有点小费


选择一些控件

此时

功能区>表单设计工具>排列>表格工具应该变为活动

选择表格

当您的新桌子处于活动状态时,这将使您的布局更好



< Ctrl>< A>

您在物业中的格式标签工作表现在应该显示网格线样式,颜色,宽度等...我通常将这些设置为2pt,点,紫色,因为我不倾向于在表单中使用这些样式。通常新的单元格/行/列,你插入将没有网格线设置你必须摆弄这些设置。


这里的美丽,你现在可以添加行,列,拆分和合并单元格等。 ..


控制非常挑剔;但是,我使用这种方法创建了一个班级名单...
(109.7 KB,245 views) POC_Layout_FrmView.JPG (38.0 KB,246 views)


对不起延迟依赖。


玩过没有欢乐的网格。

原因是说记录选择器是四分之一"宽。最接近任何控件(包括子窗体控件可以在左侧,如果窗体是1/4


那么子窗体上最左边的控件将是1/2从主窗体的左边框。它们永远不会对齐


B计划是一个空白的主窗体容器和2个子窗体 - SubFrmAdd设置为只添加进入主表单标题,以及允许编辑和删除记录的连续SubFrmEdit。




所以问题是我们有2个当前的记录指标。


理想情况下,如果顶级SubFrmAdd具有焦点,则连续的SubFrmEdit中将没有Current Record指示符,相反,如果SubFrmEdit具有焦点,则SubFrmAdd Record选择器中应该有* 。


Phil


I find it useful on occasions to sort continuous subforms in date order, with the latest date on the top, and the blank new record line above the first record as per this illustration.


Basically it consists of a standard continuous form, but with an identically formatted subform in the header just above the detail in the main form.

It all works perfectly, but it would be nice to see the record selector in the new record, and not in the continuous subform.

If I show the record selector in the subform, the alignment goes wrong.

It''s not a real problem, just aesthetics.

Phil

解决方案

Have you tried:
Design View
Show your property sheet > Format
Ribbon>Form Design Tools>Arrange

Here''s the fiddly bit

Select some controls
At this point
Ribbon>Form Design Tools>Arrange>Table tools should become active
Select Tabular
THIS WILL MESS UP YOUR LAYOUT
while your new table is active
<Ctrl><A>
Your format tab in the property sheet should now show the gridline style, color, width, etc... I usually set these to 2pt, dots, purple because I don''t tend to use these styles in forms.Typically the new cells/rows/columns that you insert will not have the gridlines set you have to fiddle with these settings.

Here''s the beauty of this, you can now add rows, columns, split and merge cells etc...

The controls are VERY finicky; however, I created a class roster using this method...
Has Anyone Attempted a Report for a Class Attendance Log?

You may be able to use this same method for your form alignment issue.


Ok PhilOfWalton
I''m up WAY too late tonight - should have been in bed hours ago...
Two Screen shots showing POC for the table/layout
The Solid red-lines are the gridlines for the table, normally they would be transparent.
The parent and subform are just some forms I had to play with... for POC these should work for an example.
With a bit more tweeking I''m sure you can obtain the proper control alignments your''re after.
The subform in the header also has the table/gridlines also shown in solid-red lines



Good Night - Sweet Dreams - (z_z)

Attached Images
(38.0 KB, 246 views)


Sorry for the delay in relying.

Have played around with grids with no joy.
The reason is that say a record selector is 1/4" wide. The closest any control (including a subform control can be to the left hand side if the form is 1/4"

So the left most control on the subform will be 1/2" from the main form''s left border. They can never be aligned

Plan B is a blank Main Form "container" and 2 subforms - SubFrmAdd set to add only which goes in the Main Forms Header, and a continuous SubFrmEdit which allows editing and deleting records.



So the problem with that is we have 2 current record indicators.

Ideally, if the top SubFrmAdd has the focus, there would be no Current Record indicator in the continuous SubFrmEdit, and conversely, if SubFrmEdit had the focus, there should be an * in the SubFrmAdd Record selector.

Phil


这篇关于显示隐藏记录选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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