屏幕上的链接数据集 [英] Linked Data Sets on Screen

查看:62
本文介绍了屏幕上的链接数据集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望这是一个简单的问题,但是我很困惑.我正在使用VS2012.

Hopefully this is a simple question, but I'm stumped. I'm using VS2012.

我有一个主详细信息屏幕,我想向它添加一个新的详细信息表.该表具有定义的关系(我尝试使用隐式Fk关系和显式LS关系).

I have a master detail screen, and I want to add a new detail table to it. The table has a relationship defined (I have tried using implicit Fk relationships and explicit LS relationships).

当我使用添加数据项"添加表时,将创建该表,但未建立任何链接.但是,如果我从头开始创建一个新屏幕,那么链接就在那里.据我所见,区别是当我从以下位置创建屏幕时,两个表之间有箭头 从头开始,但是如果添加表格时屏幕已经在那里,我将无法实现.

When I add the table using Add Data Item, it gets created, but no link is established. But if I create a new screen from scratch the link is there. As far as I can see, the difference is that there is arrow between the two tables when I create a screen from scratch, but I am unable to make that happen if the screen is already there when I add the table. 

那我想念什么?

谢谢

标记


推荐答案

如果在设计器左侧面板中查看该集合(例如客户"),您会发现它包含一个名为选定项"的节点,该节点的下面是该项的属性.如果将选定项"拖到设计器上,它将添加所需的 控件以显示详细信息.这样会自动在列表和单个项目之间创建链接.

If you look at the collection (say Customers) in the left panel of the designer, you will see that it contains a node called Selected Item, below which are the properties for the item. If you drag the Selected Item onto the designer, it will add the required controls to display the details. This automatically creates the link between the list and the individual item.

希望这会有所帮助.如果您需要更多帮助,请发回邮件并说明您遇到的问题.

Hope this helps. If you need any more help, please post back and explain where you're having problems.

P.S.只是要补充一点,任何屏幕模板都没有什么特别的.他们只是为您设置了一些东西,以节省一些时间.您可以使用任何模板并对其进行修改以创建任何类型的屏幕布局.

P.S. Just to add on, there is nothing special about any of the screen templates. They just set some stuff up for you to save a bit of time. You could use any template and modify it to create any kind of screen layout.


这篇关于屏幕上的链接数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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